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.001144/0.001144, allocations: 102.1 kB / 15.98 MB, free: 6.355 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.00104/0.00104, allocations: 198.8 kB / 16.91 MB, free: 6.199 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.133/1.133, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6167/0.6167, allocations: 115.3 MB / 406.1 MB, free: 6.324 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 68.12 kB / 493.2 MB, free: 0.5859 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2618, allocations: 76.16 MB / 0.556 GB, free: 36.2 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.PowerLaw): time 0.1623/0.4241, allocations: 190.1 MB / 0.7417 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005026/0.4292, allocations: 3.999 MB / 0.7456 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005863/0.4298, allocations: 15.88 kB / 0.7456 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009998/0.4308, allocations: 421.8 kB / 0.746 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.2325/0.6633, allocations: 1.424 MB / 0.7474 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002942/0.6663, allocations: 1.255 MB / 0.7486 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001786/0.6681, allocations: 1.641 MB / 0.7502 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009327/0.669, allocations: 0.9406 MB / 0.7512 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001096/0.6701, allocations: 0.9377 MB / 0.7521 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009643/0.6711, allocations: 0.8839 MB / 0.7529 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001707/0.6713, allocations: 95.69 kB / 0.753 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002034/0.6733, allocations: 1.361 MB / 0.7544 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003311/0.6736, allocations: 356.2 kB / 0.7547 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004882/0.6741, allocations: 0.5096 MB / 0.7552 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001898/0.676, allocations: 1.727 MB / 0.7569 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.676, allocations: 0.8125 kB / 0.7569 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6761, allocations: 0 / 0.7569 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.015e-05/0.6761, allocations: 3.75 kB / 0.7569 GB, free: 2.793 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.002869/0.6789, allocations: 1.452 MB / 0.7583 GB, free: 18.09 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.679, allocations: 9.344 kB / 0.7583 GB, free: 18.09 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001223/0.6791, allocations: 91.33 kB / 0.7584 GB, free: 18.05 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001445/0.6806, allocations: 239.8 kB / 0.7586 GB, free: 18.01 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007694/0.6813, allocations: 0.5849 MB / 0.7592 GB, free: 17.71 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.946e-05/0.6814, allocations: 39.44 kB / 0.7592 GB, free: 17.71 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.6815, allocations: 52.69 kB / 0.7593 GB, free: 17.71 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/0.6829, allocations: 0.9627 MB / 0.7602 GB, free: 17.51 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.683, allocations: 5.375 kB / 0.7602 GB, free: 17.51 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.533e-05/0.6831, allocations: 21.34 kB / 0.7602 GB, free: 17.51 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.205e-05/0.6831, allocations: 31.08 kB / 0.7603 GB, free: 17.51 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001423/0.6845, allocations: 0.9379 MB / 0.7612 GB, free: 17.5 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.004539/0.6891, allocations: 4.266 MB / 0.7654 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008505/0.6899, allocations: 0.5974 MB / 0.7659 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006479/0.6906, allocations: 0.5107 MB / 0.7664 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009273/0.6915, allocations: 0.8768 MB / 0.7673 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.6916, allocations: 41.94 kB / 0.7673 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00156/0.6931, allocations: 457 kB / 0.7678 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=50): time 2.064e-06/0.6931, allocations: 0.8438 kB / 0.7678 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=50): time 0.01654/0.7097, allocations: 3.835 MB / 0.7715 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.7097, allocations: 61.42 kB / 0.7716 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007272/0.7105, allocations: 0.7069 MB / 0.7723 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.191e-05/0.7106, allocations: 36.58 kB / 0.7723 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/0.7108, allocations: 319.9 kB / 0.7726 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/0.7109, allocations: 178.2 kB / 0.7728 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002392/0.7111, allocations: 155 kB / 0.7729 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.7112, allocations: 328.6 kB / 0.7732 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005918/0.7118, allocations: 399.9 kB / 0.7736 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006485/0.7125, allocations: 486.8 kB / 0.7741 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001297/0.7138, allocations: 0.9191 MB / 0.775 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.7138, allocations: 2.5 kB / 0.775 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01028/0.7241, allocations: 2.568 MB / 0.7775 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.7241, allocations: 6.375 kB / 0.7775 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.7241, allocations: 0 / 0.7775 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008725/0.7329, allocations: 1.728 MB / 0.7792 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003634/0.7332, allocations: 93.45 kB / 0.7793 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01078/0.744, allocations: 7.148 MB / 0.7863 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006656/0.7447, allocations: 32.44 kB / 0.7863 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.938e-05/0.7448, allocations: 51.22 kB / 0.7863 GB, free: 9.867 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.0002784/0.7451, allocations: 201.9 kB / 0.7865 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/0.7452, allocations: 82.66 kB / 0.7866 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004452/0.7497, allocations: 1.737 MB / 0.7883 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.7497, allocations: 10.23 kB / 0.7883 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.7497, allocations: 11.19 kB / 0.7883 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.7497, allocations: 2.719 kB / 0.7883 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004946/0.7547, allocations: 2.556 MB / 0.7908 GB, free: 9.125 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.7547, allocations: 2.812 kB / 0.7908 GB, free: 9.125 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003654/0.7551, allocations: 87.67 kB / 0.7909 GB, free: 9.125 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003025/0.7581, allocations: 0.7981 MB / 0.7917 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.783e-05/0.7582, allocations: 17.19 kB / 0.7917 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005762/0.7639, allocations: 4.866 MB / 0.7965 GB, free: 6.316 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.7639, allocations: 1.312 kB / 0.7965 GB, free: 6.316 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00458/0.7685, allocations: 2.148 MB / 0.7986 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003114/0.7688, allocations: 238.3 kB / 0.7988 GB, free: 5.871 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/0.769, allocations: 16.47 kB / 0.7988 GB, free: 5.871 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005478/0.7695, allocations: 30.19 kB / 0.7988 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/0.7697, allocations: 54.12 kB / 0.7989 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.297e-05/0.7697, allocations: 18.38 kB / 0.7989 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004547/0.7702, allocations: 0.5002 MB / 0.7994 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7702, allocations: 0 / 0.7994 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007518/0.7709, allocations: 280.7 kB / 0.7997 GB, free: 5.758 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.005144/0.7761, allocations: 2.813 MB / 0.8024 GB, free: 4.738 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003294/0.7794, allocations: 1.512 MB / 0.8039 GB, free: 4.25 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.7794, allocations: 1.094 kB / 0.8039 GB, free: 4.25 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001548/0.781, allocations: 0.9176 MB / 0.8048 GB, free: 3.891 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001784/0.7828, allocations: 465.8 kB / 0.8052 GB, free: 3.719 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02712/0.8099, allocations: 10.93 MB / 0.8159 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004606/0.8104, allocations: 0.9792 MB / 0.8168 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005489/0.8109, allocations: 162.2 kB / 0.817 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003137/0.8112, allocations: 282.6 kB / 0.8173 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of SimCode: time 3.4e-07/0.8112, allocations: 0 / 0.8173 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.277/2.089, allocations: 29.34 MB / 0.8459 GB, free: 1.672 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002745/2.089, allocations: 251.3 kB / 0.8462 GB, free: 1.418 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.414/4.503, allocations: 0 / 0.8462 GB, free: 1.418 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)