Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004155/0.004155, allocations: 101.7 kB / 15.88 MB, free: 6.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 194.7 kB / 16.79 MB, free: 6.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.149/1.149, allocations: 222.9 MB / 240.5 MB, free: 15.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6118/0.6118, allocations: 115.3 MB / 405.9 MB, free: 6.398 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 63.89 kB / 493 MB, free: 0.7461 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2608, allocations: 76.16 MB / 0.5558 GB, free: 36.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.PowerLaw): time 0.1552/0.416, allocations: 190.4 MB / 0.7417 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005085/0.4211, allocations: 4.059 MB / 0.7457 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004164/0.4215, allocations: 19.88 kB / 0.7457 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009656/0.4225, allocations: 401.9 kB / 0.7461 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.2447/0.6672, allocations: 1.436 MB / 0.7475 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002823/0.6701, allocations: 1.234 MB / 0.7487 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002406/0.6725, allocations: 2.354 MB / 0.751 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009984/0.6735, allocations: 0.8745 MB / 0.7519 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001237/0.6747, allocations: 0.8643 MB / 0.7527 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000993/0.6757, allocations: 0.8808 MB / 0.7536 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000162/0.6759, allocations: 76.75 kB / 0.7536 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002416/0.6783, allocations: 1.568 MB / 0.7552 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003531/0.6787, allocations: 345.2 kB / 0.7555 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005358/0.6792, allocations: 0.4906 MB / 0.756 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00204/0.6813, allocations: 1.703 MB / 0.7576 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.6813, allocations: 0 / 0.7576 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of FrontEnd: time 7.21e-07/0.6813, allocations: 0.8125 kB / 0.7576 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.6813, allocations: 0 / 0.7576 GB, free: 2.684 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002924/0.6842, allocations: 1.451 MB / 0.7591 GB, free: 17.96 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.6843, allocations: 17.41 kB / 0.7591 GB, free: 17.95 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001222/0.6844, allocations: 92.67 kB / 0.7592 GB, free: 17.91 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001442/0.6859, allocations: 235.3 kB / 0.7594 GB, free: 17.87 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007218/0.6866, allocations: 0.5909 MB / 0.76 GB, free: 17.57 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.791e-05/0.6866, allocations: 38.36 kB / 0.76 GB, free: 17.57 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.6867, allocations: 48.75 kB / 0.76 GB, free: 17.57 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001295/0.688, allocations: 0.9668 MB / 0.761 GB, free: 17.36 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.6881, allocations: 5.062 kB / 0.761 GB, free: 17.36 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.702e-05/0.6881, allocations: 27.08 kB / 0.761 GB, free: 17.36 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.161e-05/0.6882, allocations: 31.39 kB / 0.7611 GB, free: 17.36 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001379/0.6896, allocations: 0.938 MB / 0.762 GB, free: 17.35 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004492/0.6941, allocations: 4.259 MB / 0.7661 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008642/0.695, allocations: 0.5955 MB / 0.7667 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007005/0.6957, allocations: 0.5181 MB / 0.7672 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009617/0.6966, allocations: 0.8729 MB / 0.7681 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.6967, allocations: 43.56 kB / 0.7681 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00154/0.6982, allocations: 440.2 kB / 0.7685 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=50): time 2.083e-06/0.6982, allocations: 0 / 0.7685 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of matching and sorting (n=50): time 0.01677/0.715, allocations: 3.836 MB / 0.7723 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.715, allocations: 56.78 kB / 0.7723 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008484/0.7159, allocations: 0.7067 MB / 0.773 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.107e-05/0.716, allocations: 35.86 kB / 0.7731 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002043/0.7162, allocations: 320.6 kB / 0.7734 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/0.7163, allocations: 176 kB / 0.7735 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002553/0.7166, allocations: 156.5 kB / 0.7737 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.7167, allocations: 326.7 kB / 0.774 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006319/0.7174, allocations: 396.2 kB / 0.7744 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006639/0.718, allocations: 497.4 kB / 0.7748 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.7193, allocations: 0.9191 MB / 0.7757 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.7193, allocations: 0 / 0.7757 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0105/0.7298, allocations: 2.559 MB / 0.7782 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.7298, allocations: 8.281 kB / 0.7782 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.7298, allocations: 4.125 kB / 0.7782 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009021/0.7388, allocations: 1.737 MB / 0.7799 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003896/0.7392, allocations: 90.47 kB / 0.78 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01043/0.7497, allocations: 6.654 MB / 0.7865 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008443/0.7505, allocations: 30.64 kB / 0.7866 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.202e-05/0.7506, allocations: 44.12 kB / 0.7866 GB, free: 9.656 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003434/0.751, allocations: 212.9 kB / 0.7868 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001717/0.7512, allocations: 81.52 kB / 0.7869 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004543/0.7557, allocations: 1.739 MB / 0.7886 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.7557, allocations: 4.875 kB / 0.7886 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.7557, allocations: 4.188 kB / 0.7886 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.7557, allocations: 6.5 kB / 0.7886 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005098/0.7608, allocations: 2.546 MB / 0.7911 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.7609, allocations: 0 / 0.7911 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003722/0.7612, allocations: 92.58 kB / 0.7912 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003153/0.7644, allocations: 0.8031 MB / 0.792 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.692e-05/0.7645, allocations: 16.47 kB / 0.792 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005602/0.7701, allocations: 4.485 MB / 0.7964 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.7701, allocations: 0 / 0.7964 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004654/0.7747, allocations: 2.154 MB / 0.7985 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003218/0.7751, allocations: 234.2 kB / 0.7987 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.7752, allocations: 15.12 kB / 0.7987 GB, free: 5.227 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005341/0.7757, allocations: 37.22 kB / 0.7987 GB, free: 5.215 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.7759, allocations: 51.09 kB / 0.7988 GB, free: 5.195 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-05/0.7759, allocations: 20.5 kB / 0.7988 GB, free: 5.195 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004893/0.7764, allocations: 0.5018 MB / 0.7993 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7764, allocations: 1.094 kB / 0.7993 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007982/0.7772, allocations: 285.9 kB / 0.7996 GB, free: 5.012 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005303/0.7825, allocations: 2.811 MB / 0.8023 GB, free: 3.816 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002917/0.7855, allocations: 1.451 MB / 0.8037 GB, free: 3.34 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.7855, allocations: 256 / 0.8037 GB, free: 3.34 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001578/0.7871, allocations: 0.9205 MB / 0.8046 GB, free: 2.973 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001749/0.7888, allocations: 446.2 kB / 0.805 GB, free: 2.832 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02763/0.8165, allocations: 10.91 MB / 0.8157 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004974/0.817, allocations: 0.9816 MB / 0.8167 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006799/0.8177, allocations: 160.8 kB / 0.8168 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003372/0.818, allocations: 284.7 kB / 0.8171 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of SimCode: time 4.81e-07/0.818, allocations: 0 / 0.8171 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07313/0.8912, allocations: 28.33 MB / 0.8448 GB, free: 1.395 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002071/0.8914, allocations: 254.6 kB / 0.845 GB, free: 1.141 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.318/3.209, allocations: 0 / 0.845 GB, free: 1.141 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_PowerLaw.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)