Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpLowRise",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.001087/0.001087, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001013/0.001013, allocations: 191.3 kB / 16.25 MB, free: 6.633 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.341/1.341, allocations: 222.9 MB / 239.9 MB, free: 4.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003459/0.003459, allocations: 290.9 kB / 290.4 MB, free: 2.078 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9214/0.9214, allocations: 169.2 MB / 0.4978 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001638, allocations: 89.62 kB / 0.5948 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1384, allocations: 86.98 MB / 0.6797 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise): time 0.4353/0.5737, allocations: 164.7 MB / 0.8406 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01736/0.5911, allocations: 16.75 MB / 0.857 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001238/0.5924, allocations: 27.88 kB / 0.857 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001225/0.5936, allocations: 438.7 kB / 0.8574 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003906/0.5976, allocations: 1.396 MB / 0.8588 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00327/0.6009, allocations: 1.183 MB / 0.8599 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003346/0.6042, allocations: 2.489 MB / 0.8624 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002612/0.6068, allocations: 1.946 MB / 0.8643 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005012/0.6119, allocations: 1.306 MB / 0.8655 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001157/0.6131, allocations: 0.9819 MB / 0.8665 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002499/0.6133, allocations: 210.8 kB / 0.8667 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002456/0.6158, allocations: 1.426 MB / 0.8681 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004153/0.6162, allocations: 0.5631 MB / 0.8686 GB, free: 176 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008116/0.617, allocations: 0.9966 MB / 0.8696 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003188/0.6202, allocations: 3.056 MB / 0.8726 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.6202, allocations: 0 / 0.8726 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.253e-06/0.6202, allocations: 0 / 0.8726 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.176e-05/0.6203, allocations: 0 / 0.8726 GB, free: 13.28 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.003492/0.6238, allocations: 2.259 MB / 0.8748 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.6238, allocations: 10.09 kB / 0.8748 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002642/0.6241, allocations: 245.1 kB / 0.875 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003445/0.6276, allocations: 0.5067 MB / 0.8755 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001435/0.629, allocations: 1.09 MB / 0.8766 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-05/0.6291, allocations: 129.7 kB / 0.8767 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000191/0.6293, allocations: 168.7 kB / 0.8769 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002866/0.6322, allocations: 1.84 MB / 0.8787 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.197e-05/0.6322, allocations: 3.938 kB / 0.8787 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001558/0.6324, allocations: 79.78 kB / 0.8788 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.565e-05/0.6324, allocations: 40.19 kB / 0.8788 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002918/0.6353, allocations: 1.877 MB / 0.8806 GB, free: 8.125 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.006778/0.6421, allocations: 5.166 MB / 0.8857 GB, free: 4.023 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002791/0.6449, allocations: 1.768 MB / 0.8874 GB, free: 2.723 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001082/0.646, allocations: 0.6483 MB / 0.888 GB, free: 2.074 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008083/0.6468, allocations: 0.8156 MB / 0.8888 GB, free: 1.094 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001532/0.6484, allocations: 0.884 MB / 0.8897 GB, free: 192 kB / 0.5919 GB Notification: Performance of pre-optimization done (n=146): time 2.845e-06/0.6484, allocations: 4 kB / 0.8897 GB, free: 188 kB / 0.5919 GB Notification: Performance of matching and sorting (n=146): time 0.005844/0.6542, allocations: 2.556 MB / 0.8922 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.437e-05/0.6544, allocations: 201.2 kB / 0.8924 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009577/0.6553, allocations: 0.8309 MB / 0.8932 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001235/0.6554, allocations: 61.69 kB / 0.8933 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004497/0.6559, allocations: 0.6523 MB / 0.8939 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003339/0.6562, allocations: 480.9 kB / 0.8944 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003735/0.6566, allocations: 238.8 kB / 0.8946 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.6567, allocations: 353.9 kB / 0.8949 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000925/0.6577, allocations: 474.4 kB / 0.8954 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/0.6588, allocations: 0.638 MB / 0.896 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002013/0.6608, allocations: 1.095 MB / 0.8971 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.6608, allocations: 0 / 0.8971 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00336/0.6642, allocations: 1.499 MB / 0.8985 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.6642, allocations: 11.98 kB / 0.8985 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.6642, allocations: 0 / 0.8985 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009168/0.6651, allocations: 192.1 kB / 0.8987 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/0.6666, allocations: 331.6 kB / 0.899 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00557/0.6722, allocations: 7.28 MB / 0.9062 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.6736, allocations: 164.8 kB / 0.9063 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.6737, allocations: 47.97 kB / 0.9064 GB, free: 14.13 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007432/0.6745, allocations: 386.3 kB / 0.9067 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002745/0.6747, allocations: 130.4 kB / 0.9069 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004022/0.6788, allocations: 1.846 MB / 0.9087 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/0.6788, allocations: 16 kB / 0.9087 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.6788, allocations: 4 kB / 0.9087 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.533e-05/0.6788, allocations: 7.969 kB / 0.9087 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005714/0.6845, allocations: 3.454 MB / 0.9121 GB, free: 8.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.6846, allocations: 3.938 kB / 0.9121 GB, free: 8.176 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001396/0.686, allocations: 311.6 kB / 0.9124 GB, free: 7.871 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007264/0.6867, allocations: 184.1 kB / 0.9125 GB, free: 7.676 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.202e-05/0.6868, allocations: 39.97 kB / 0.9126 GB, free: 7.637 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005233/0.692, allocations: 7.326 MB / 0.9197 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.6921, allocations: 4.031 kB / 0.9197 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003416/0.6955, allocations: 1.707 MB / 0.9214 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005586/0.6961, allocations: 402.9 kB / 0.9218 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001813/0.6962, allocations: 35.98 kB / 0.9218 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/0.6974, allocations: 114.1 kB / 0.9219 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002113/0.6977, allocations: 117.1 kB / 0.922 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001445/0.6978, allocations: 79.95 kB / 0.9221 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006933/0.6985, allocations: 0.5786 MB / 0.9227 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6985, allocations: 0 / 0.9227 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001357/0.6999, allocations: 0.5765 MB / 0.9232 GB, free: 11.94 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004982/0.7049, allocations: 2.89 MB / 0.9261 GB, free: 9.199 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004703/0.7096, allocations: 2.273 MB / 0.9283 GB, free: 6.863 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.7096, allocations: 0.5625 kB / 0.9283 GB, free: 6.859 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00181/0.7114, allocations: 1.309 MB / 0.9296 GB, free: 5.484 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002001/0.7134, allocations: 0.4943 MB / 0.93 GB, free: 5.012 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01904/0.7325, allocations: 11.34 MB / 0.9411 GB, free: 9.316 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008061/0.7333, allocations: 1.296 MB / 0.9424 GB, free: 7.988 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0017/0.735, allocations: 434.1 kB / 0.9428 GB, free: 7.559 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008731/0.7359, allocations: 0.6515 MB / 0.9434 GB, free: 6.906 MB / 0.6544 GB Notification: Performance of SimCode: time 5.11e-07/0.7359, allocations: 0 / 0.9434 GB, free: 6.906 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06519/0.8011, allocations: 36.22 MB / 0.9788 GB, free: 3.227 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002061/0.8014, allocations: 295.8 kB / 0.9791 GB, free: 2.844 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.921/3.722, allocations: 3.938 kB / 0.9791 GB, free: 2.84 MB / 0.6856 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpLowRise.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)