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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009228/0.0009229, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.005221/0.005221, allocations: 172.2 kB / 16.26 MB, free: 6.676 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.304/1.304, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.351/2.351, allocations: 437.8 MB / 0.7121 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003148/0.0003149, allocations: 12.28 kB / 0.8729 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5298/0.5301, allocations: 153.8 MB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1551/0.6853, allocations: 163.8 MB / 1.183 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01859/0.7039, allocations: 16.87 MB / 1.2 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001081/0.705, allocations: 27.81 kB / 1.2 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001174/0.7062, allocations: 469.1 kB / 1.2 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003467/0.7097, allocations: 1.445 MB / 1.201 GB, free: 8.656 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002686/0.7124, allocations: 1.177 MB / 1.203 GB, free: 7.492 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00264/0.715, allocations: 2.844 MB / 1.205 GB, free: 4.633 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001919/0.7169, allocations: 1.605 MB / 1.207 GB, free: 2.98 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00414/0.7211, allocations: 1.04 MB / 1.208 GB, free: 1.977 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008694/0.722, allocations: 0.7669 MB / 1.209 GB, free: 1.207 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001225/0.7221, allocations: 40 kB / 1.209 GB, free: 1.168 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002362/0.7245, allocations: 1.399 MB / 1.21 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003154/0.7248, allocations: 358.4 kB / 1.21 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007263/0.7255, allocations: 0.8366 MB / 1.211 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002902/0.7284, allocations: 2.939 MB / 1.214 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.7285, allocations: 4 kB / 1.214 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7285, allocations: 0 / 1.214 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.093e-05/0.7285, allocations: 0 / 1.214 GB, free: 11.61 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.003167/0.7317, allocations: 1.894 MB / 1.216 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.7317, allocations: 8.031 kB / 1.216 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002899/0.732, allocations: 245 kB / 1.216 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00352/0.7355, allocations: 0.5206 MB / 1.217 GB, free: 8.875 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001509/0.7371, allocations: 1.086 MB / 1.218 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.251e-05/0.7372, allocations: 131.4 kB / 1.218 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002124/0.7374, allocations: 164 kB / 1.218 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003029/0.7404, allocations: 1.847 MB / 1.22 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.758e-05/0.7404, allocations: 0 / 1.22 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001668/0.7406, allocations: 75.98 kB / 1.22 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.126e-05/0.7407, allocations: 48 kB / 1.22 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003184/0.7439, allocations: 1.875 MB / 1.222 GB, free: 3.555 MB / 0.9669 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.007363/0.7512, allocations: 5.592 MB / 1.227 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003023/0.7543, allocations: 1.765 MB / 1.229 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00117/0.7554, allocations: 0.6593 MB / 1.23 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008383/0.7563, allocations: 0.8194 MB / 1.23 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001578/0.7579, allocations: 0.8996 MB / 1.231 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=146): time 2.725e-06/0.7579, allocations: 0 / 1.231 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of matching and sorting (n=146): time 0.006037/0.7639, allocations: 2.576 MB / 1.234 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.603e-05/0.7641, allocations: 205.2 kB / 1.234 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/0.7651, allocations: 0.831 MB / 1.235 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001247/0.7653, allocations: 61.64 kB / 1.235 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005059/0.7658, allocations: 0.6523 MB / 1.236 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003791/0.7662, allocations: 481 kB / 1.236 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000153/0.7663, allocations: 97.67 kB / 1.236 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.7665, allocations: 353.9 kB / 1.236 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00124/0.7677, allocations: 490.3 kB / 1.237 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00125/0.769, allocations: 0.6302 MB / 1.237 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002171/0.7712, allocations: 1.107 MB / 1.239 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.7712, allocations: 0 / 1.239 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003526/0.7747, allocations: 1.511 MB / 1.24 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.7747, allocations: 4 kB / 1.24 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.158e-06/0.7748, allocations: 4 kB / 1.24 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009263/0.7757, allocations: 188.2 kB / 1.24 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001553/0.7773, allocations: 335.5 kB / 1.241 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005428/0.7827, allocations: 6.786 MB / 1.247 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/0.7841, allocations: 181.5 kB / 1.247 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001376/0.7843, allocations: 51.97 kB / 1.247 GB, free: 7.75 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.000813/0.7851, allocations: 373.5 kB / 1.248 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002843/0.7854, allocations: 130.4 kB / 1.248 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004259/0.7896, allocations: 1.858 MB / 1.25 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/0.7897, allocations: 16 kB / 1.25 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.7897, allocations: 4 kB / 1.25 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.439e-05/0.7897, allocations: 7.969 kB / 1.25 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006258/0.796, allocations: 3.455 MB / 1.253 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.796, allocations: 7.938 kB / 1.253 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001448/0.7974, allocations: 315.6 kB / 1.253 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008171/0.7983, allocations: 188.1 kB / 1.254 GB, free: 1.289 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.677e-05/0.7984, allocations: 43.95 kB / 1.254 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4288/1.227, allocations: 6.801 MB / 1.26 GB, free: 221.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/1.227, allocations: 2.5 kB / 1.26 GB, free: 221.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003869/1.231, allocations: 1.715 MB / 1.262 GB, free: 221.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006147/1.232, allocations: 418.8 kB / 1.262 GB, free: 221.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001651/1.232, allocations: 28.23 kB / 1.262 GB, free: 221.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001301/1.233, allocations: 151 kB / 1.263 GB, free: 221.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002443/1.233, allocations: 115.8 kB / 1.263 GB, free: 221.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001542/1.234, allocations: 69.73 kB / 1.263 GB, free: 221.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008154/1.234, allocations: 0.5861 MB / 1.263 GB, free: 221.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.234, allocations: 0.625 kB / 1.263 GB, free: 221.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001536/1.236, allocations: 0.6004 MB / 1.264 GB, free: 221 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.005277/1.241, allocations: 2.894 MB / 1.267 GB, free: 219.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003174/1.244, allocations: 1.836 MB / 1.268 GB, free: 218.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/1.244, allocations: 3.125 kB / 1.268 GB, free: 218.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001997/1.247, allocations: 1.312 MB / 1.27 GB, free: 217.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002556/1.249, allocations: 497.6 kB / 1.27 GB, free: 217.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01881/1.268, allocations: 11.26 MB / 1.281 GB, free: 211.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000867/1.269, allocations: 1.309 MB / 1.283 GB, free: 210.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001899/1.271, allocations: 446.6 kB / 1.283 GB, free: 210.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008072/1.272, allocations: 0.6423 MB / 1.284 GB, free: 210.2 MB / 0.9981 GB Notification: Performance of SimCode: time 6.51e-07/1.272, allocations: 6.297 kB / 1.284 GB, free: 210.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.42/3.691, allocations: 35.59 MB / 1.318 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002209/3.692, allocations: 279.6 kB / 1.319 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.011/6.703, allocations: 4 kB / 1.319 GB, free: 182.5 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)