Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="BuildSysPro_BuildSysPro_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.001112/0.001112, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001119/0.001119, allocations: 194 kB / 16.14 MB, free: 6.703 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 / 239.8 MB, free: 4.613 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8246/0.8246, allocations: 143 MB / 433 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001037/0.001037, allocations: 63.89 kB / 0.5136 GB, free: 12.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1178, allocations: 82.03 MB / 0.5937 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw): time 0.3387/0.4565, allocations: 190.5 MB / 0.7797 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004729/0.4613, allocations: 4.065 MB / 0.7837 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002824/0.4615, allocations: 19.88 kB / 0.7837 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008556/0.4624, allocations: 401.8 kB / 0.7841 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002207/0.4647, allocations: 1.448 MB / 0.7855 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002127/0.4668, allocations: 1.237 MB / 0.7867 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001701/0.4685, allocations: 2.347 MB / 0.789 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008369/0.4694, allocations: 0.8793 MB / 0.7899 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008765/0.4702, allocations: 0.8642 MB / 0.7907 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007756/0.471, allocations: 0.8799 MB / 0.7916 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000127/0.4712, allocations: 79.94 kB / 0.7916 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001842/0.473, allocations: 1.57 MB / 0.7932 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002687/0.4733, allocations: 331 kB / 0.7935 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000409/0.4737, allocations: 0.5015 MB / 0.794 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001531/0.4752, allocations: 1.745 MB / 0.7957 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.4753, allocations: 0 / 0.7957 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.195e-06/0.4753, allocations: 0 / 0.7957 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.4753, allocations: 3.938 kB / 0.7957 GB, free: 14.82 MB / 0.6231 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.00261/0.4779, allocations: 1.449 MB / 0.7971 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.4779, allocations: 12.03 kB / 0.7971 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001107/0.478, allocations: 90.52 kB / 0.7972 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001411/0.4795, allocations: 242.6 kB / 0.7974 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006934/0.4802, allocations: 0.5876 MB / 0.798 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/0.4802, allocations: 33 kB / 0.798 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.754e-05/0.4803, allocations: 59.98 kB / 0.7981 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/0.4816, allocations: 0.9569 MB / 0.799 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.4816, allocations: 4 kB / 0.799 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.562e-05/0.4817, allocations: 20 kB / 0.7991 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-05/0.4818, allocations: 39.97 kB / 0.7991 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001375/0.4831, allocations: 0.9367 MB / 0.8 GB, free: 10.23 MB / 0.6231 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.004447/0.4876, allocations: 4.252 MB / 0.8042 GB, free: 5.809 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008632/0.4885, allocations: 0.6066 MB / 0.8047 GB, free: 5.195 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006794/0.4892, allocations: 0.5097 MB / 0.8052 GB, free: 4.684 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000871/0.49, allocations: 0.8861 MB / 0.8061 GB, free: 3.613 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.4901, allocations: 35 kB / 0.8061 GB, free: 3.57 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001469/0.4915, allocations: 439.1 kB / 0.8066 GB, free: 3.141 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=50): time 3.016e-06/0.4916, allocations: 3.984 kB / 0.8066 GB, free: 3.137 MB / 0.6231 GB Notification: Performance of matching and sorting (n=50): time 0.01645/0.508, allocations: 3.841 MB / 0.8103 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.508, allocations: 55.84 kB / 0.8104 GB, free: 15.17 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006937/0.5087, allocations: 0.7154 MB / 0.8111 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.905e-05/0.5088, allocations: 41.7 kB / 0.8111 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.509, allocations: 320.6 kB / 0.8114 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.5092, allocations: 173.5 kB / 0.8116 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000235/0.5094, allocations: 150 kB / 0.8117 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.827e-05/0.5095, allocations: 330 kB / 0.812 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005977/0.5101, allocations: 392.9 kB / 0.8124 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006521/0.5108, allocations: 493.5 kB / 0.8129 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001323/0.5121, allocations: 0.918 MB / 0.8138 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5121, allocations: 0 / 0.8138 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01066/0.5228, allocations: 2.56 MB / 0.8163 GB, free: 9.02 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.5228, allocations: 8 kB / 0.8163 GB, free: 9.012 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.5228, allocations: 0 / 0.8163 GB, free: 9.012 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009143/0.532, allocations: 1.73 MB / 0.818 GB, free: 7.273 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003664/0.5323, allocations: 87.88 kB / 0.8181 GB, free: 7.188 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0111/0.5434, allocations: 6.664 MB / 0.8246 GB, free: 260 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005929/0.544, allocations: 31.89 kB / 0.8246 GB, free: 228 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.377e-05/0.5441, allocations: 44.64 kB / 0.8246 GB, free: 184 kB / 0.6387 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.0002805/0.5444, allocations: 213.7 kB / 0.8248 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001674/0.5446, allocations: 79.06 kB / 0.8249 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004808/0.5494, allocations: 1.749 MB / 0.8266 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.5494, allocations: 4 kB / 0.8266 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.5494, allocations: 8.812 kB / 0.8266 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.5495, allocations: 3.984 kB / 0.8266 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005422/0.5549, allocations: 2.536 MB / 0.8291 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.5549, allocations: 8.031 kB / 0.8291 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003835/0.5553, allocations: 83.89 kB / 0.8292 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003337/0.5586, allocations: 0.7977 MB / 0.83 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.314e-05/0.5587, allocations: 27.86 kB / 0.83 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005738/0.5644, allocations: 4.466 MB / 0.8344 GB, free: 5.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.5645, allocations: 4 kB / 0.8344 GB, free: 5.836 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004856/0.5693, allocations: 2.159 MB / 0.8365 GB, free: 3.633 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002744/0.5696, allocations: 231.9 kB / 0.8367 GB, free: 3.387 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.5697, allocations: 15.98 kB / 0.8367 GB, free: 3.371 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005301/0.5703, allocations: 27.98 kB / 0.8368 GB, free: 3.344 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.5704, allocations: 56.45 kB / 0.8368 GB, free: 3.289 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.657e-05/0.5705, allocations: 23.98 kB / 0.8368 GB, free: 3.266 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005211/0.571, allocations: 0.499 MB / 0.8373 GB, free: 2.77 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.571, allocations: 0 / 0.8373 GB, free: 2.77 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007078/0.5717, allocations: 287.8 kB / 0.8376 GB, free: 2.488 MB / 0.6544 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.005358/0.5771, allocations: 2.809 MB / 0.8403 GB, free: 15.64 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003044/0.5801, allocations: 1.467 MB / 0.8418 GB, free: 14.14 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.5801, allocations: 0 / 0.8418 GB, free: 14.14 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001582/0.5817, allocations: 0.9225 MB / 0.8427 GB, free: 13.2 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001788/0.5835, allocations: 444.1 kB / 0.8431 GB, free: 12.78 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02817/0.6117, allocations: 10.9 MB / 0.8537 GB, free: 1.719 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004515/0.6122, allocations: 0.9789 MB / 0.8547 GB, free: 0.7109 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0005402/0.6127, allocations: 163.6 kB / 0.8548 GB, free: 0.5469 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000353/0.6131, allocations: 283.3 kB / 0.8551 GB, free: 276 kB / 0.67 GB Notification: Performance of SimCode: time 2.2e-07/0.6131, allocations: 0 / 0.8551 GB, free: 276 kB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2196/0.8327, allocations: 28.39 MB / 0.8828 GB, free: 209.7 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001198/0.8328, allocations: 266.1 kB / 0.8831 GB, free: 209.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.04/2.872, allocations: 3.172 kB / 0.8831 GB, free: 209.4 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_PowerLaw.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)