Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_10_Buildings_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.001088/0.001088, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.292/1.292, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.424/2.424, allocations: 437 MB / 0.7104 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 60.09 kB / 0.8693 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4955/0.4968, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1532/0.6501, allocations: 168.3 MB / 1.182 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0184/0.6685, allocations: 17.06 MB / 1.198 GB, free: 8.395 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001177/0.6697, allocations: 27.81 kB / 1.198 GB, free: 8.367 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001266/0.671, allocations: 0.5467 MB / 1.199 GB, free: 7.816 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003639/0.6747, allocations: 1.616 MB / 1.201 GB, free: 6.195 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002738/0.6774, allocations: 1.32 MB / 1.202 GB, free: 4.887 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002355/0.6798, allocations: 2.688 MB / 1.204 GB, free: 2.184 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001849/0.6816, allocations: 1.874 MB / 1.206 GB, free: 264 kB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002857/0.6845, allocations: 1.342 MB / 1.208 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009298/0.6854, allocations: 0.9841 MB / 1.209 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002489/0.6857, allocations: 208 kB / 1.209 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002295/0.688, allocations: 1.404 MB / 1.21 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004156/0.6884, allocations: 0.553 MB / 1.211 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000815/0.6892, allocations: 1.042 MB / 1.212 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002801/0.6921, allocations: 3.042 MB / 1.215 GB, free: 7.707 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.6921, allocations: 0 / 1.215 GB, free: 7.707 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.825e-06/0.6921, allocations: 4 kB / 1.215 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.092e-05/0.6921, allocations: 0 / 1.215 GB, free: 7.703 MB / 0.9669 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.003329/0.6954, allocations: 2.279 MB / 1.217 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.6955, allocations: 12.03 kB / 1.217 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002639/0.6957, allocations: 253 kB / 1.217 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003394/0.6992, allocations: 0.5089 MB / 1.218 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001419/0.7006, allocations: 1.086 MB / 1.219 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.894e-05/0.7007, allocations: 131.4 kB / 1.219 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001911/0.7009, allocations: 160 kB / 1.219 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002776/0.7037, allocations: 1.843 MB / 1.221 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.628e-05/0.7037, allocations: 0 / 1.221 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001572/0.7039, allocations: 72 kB / 1.221 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.243e-05/0.7039, allocations: 44 kB / 1.221 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003084/0.707, allocations: 1.878 MB / 1.223 GB, free: 15.27 MB / 0.9825 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.007338/0.7143, allocations: 5.579 MB / 1.228 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002898/0.7173, allocations: 1.762 MB / 1.23 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001123/0.7184, allocations: 0.6592 MB / 1.231 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008127/0.7192, allocations: 0.8038 MB / 1.231 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0015/0.7207, allocations: 0.8957 MB / 1.232 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=146): time 3.236e-06/0.7207, allocations: 0 / 1.232 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of matching and sorting (n=146): time 0.005974/0.7267, allocations: 2.552 MB / 1.235 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.683e-05/0.7268, allocations: 201.2 kB / 1.235 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.7278, allocations: 0.8387 MB / 1.236 GB, free: 1.203 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001135/0.728, allocations: 57.64 kB / 1.236 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004472/0.7284, allocations: 0.6485 MB / 1.236 GB, free: 492 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003414/0.7288, allocations: 481 kB / 1.237 GB, free: 4 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003619/0.7291, allocations: 234.8 kB / 1.237 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.7293, allocations: 353.9 kB / 1.237 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009774/0.7302, allocations: 478.4 kB / 1.238 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001105/0.7314, allocations: 0.634 MB / 1.239 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002119/0.7335, allocations: 1.095 MB / 1.24 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.7335, allocations: 4 kB / 1.24 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003319/0.7368, allocations: 1.499 MB / 1.241 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.7369, allocations: 5.875 kB / 1.241 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.7369, allocations: 0 / 1.241 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008931/0.7378, allocations: 204.2 kB / 1.241 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001481/0.7393, allocations: 323.5 kB / 1.242 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005252/0.7445, allocations: 7.288 MB / 1.249 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/0.7456, allocations: 150.8 kB / 1.249 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/0.7458, allocations: 51.97 kB / 1.249 GB, free: 2.91 MB / 0.9981 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.0006653/0.7464, allocations: 365.6 kB / 1.249 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003031/0.7467, allocations: 138.4 kB / 1.249 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004059/0.7508, allocations: 1.843 MB / 1.251 GB, free: 0.5391 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/0.7508, allocations: 16 kB / 1.251 GB, free: 0.5234 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.7509, allocations: 8 kB / 1.251 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.472e-05/0.7509, allocations: 7.969 kB / 1.251 GB, free: 0.5078 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3909/1.142, allocations: 3.438 MB / 1.255 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/1.142, allocations: 2.188 kB / 1.255 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001592/1.143, allocations: 313.8 kB / 1.255 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007734/1.144, allocations: 186.9 kB / 1.255 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-05/1.144, allocations: 40.58 kB / 1.255 GB, free: 230 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004243/1.149, allocations: 7.316 MB / 1.262 GB, free: 222.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/1.149, allocations: 1.453 kB / 1.262 GB, free: 222.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003792/1.152, allocations: 1.712 MB / 1.264 GB, free: 222.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006469/1.153, allocations: 399.8 kB / 1.264 GB, free: 222 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001921/1.153, allocations: 32 kB / 1.264 GB, free: 222 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/1.154, allocations: 103.8 kB / 1.264 GB, free: 222 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000245/1.155, allocations: 115.2 kB / 1.264 GB, free: 222 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001603/1.155, allocations: 69.52 kB / 1.265 GB, free: 222 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008323/1.156, allocations: 0.5826 MB / 1.265 GB, free: 221.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/1.156, allocations: 0.875 kB / 1.265 GB, free: 221.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001555/1.157, allocations: 0.6002 MB / 1.266 GB, free: 221.6 MB / 0.9981 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.005543/1.163, allocations: 2.886 MB / 1.269 GB, free: 220.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004994/1.168, allocations: 2.275 MB / 1.271 GB, free: 219.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/1.168, allocations: 6.156 kB / 1.271 GB, free: 219.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001775/1.17, allocations: 1.303 MB / 1.272 GB, free: 218.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002152/1.172, allocations: 0.5206 MB / 1.273 GB, free: 218.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01591/1.188, allocations: 10.51 MB / 1.283 GB, free: 212.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007628/1.189, allocations: 1.302 MB / 1.284 GB, free: 212.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001781/1.19, allocations: 436.7 kB / 1.284 GB, free: 211.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007675/1.191, allocations: 0.6497 MB / 1.285 GB, free: 211.5 MB / 0.9981 GB Notification: Performance of SimCode: time 7.51e-07/1.191, allocations: 3.969 kB / 1.285 GB, free: 211.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8202/2.011, allocations: 37.23 MB / 1.321 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/14.69, allocations: 10.02 kB / 1.321 GB, free: 179.4 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.fmu > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)