Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_9_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.00126/0.00126, allocations: 108 kB / 15.61 MB, free: 148 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.001298/0.001298, allocations: 193.7 kB / 16.53 MB, free: 6.664 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.328/1.328, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.305/2.305, allocations: 390.2 MB / 0.6647 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001318, allocations: 63.89 kB / 0.8126 GB, free: 14.42 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6643/0.6656, allocations: 140.4 MB / 0.9497 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1809/0.8466, allocations: 167.1 MB / 1.113 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02073/0.8674, allocations: 16.92 MB / 1.129 GB, free: 9.246 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001252/0.8687, allocations: 31.81 kB / 1.129 GB, free: 9.215 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001549/0.8702, allocations: 0.508 MB / 1.13 GB, free: 8.703 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004206/0.8745, allocations: 1.506 MB / 1.131 GB, free: 7.191 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003242/0.8778, allocations: 1.307 MB / 1.133 GB, free: 5.895 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002986/0.8808, allocations: 2.479 MB / 1.135 GB, free: 3.406 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002622/0.8834, allocations: 1.94 MB / 1.137 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003491/0.8869, allocations: 1.303 MB / 1.138 GB, free: 164 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001359/0.8883, allocations: 0.9587 MB / 1.139 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0004511/0.8887, allocations: 208 kB / 1.139 GB, free: 15 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002745/0.8915, allocations: 1.392 MB / 1.141 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0006358/0.8921, allocations: 0.5569 MB / 1.141 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001294/0.8934, allocations: 0.9989 MB / 1.142 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003922/0.8974, allocations: 2.987 MB / 1.145 GB, free: 9.043 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.8974, allocations: 0 / 1.145 GB, free: 9.043 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8974, allocations: 4 kB / 1.145 GB, free: 9.039 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.757e-05/0.8975, allocations: 3.984 kB / 1.145 GB, free: 9.035 MB / 0.9044 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.00441/0.9019, allocations: 2.252 MB / 1.147 GB, free: 6.719 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.902, allocations: 8.031 kB / 1.147 GB, free: 6.711 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003404/0.9023, allocations: 245 kB / 1.148 GB, free: 6.461 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003747/0.9061, allocations: 0.505 MB / 1.148 GB, free: 5.953 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001659/0.9077, allocations: 1.082 MB / 1.149 GB, free: 4.828 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.379e-05/0.9078, allocations: 131.4 kB / 1.149 GB, free: 4.699 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002305/0.9081, allocations: 164 kB / 1.149 GB, free: 4.539 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003196/0.9113, allocations: 1.847 MB / 1.151 GB, free: 2.641 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.955e-05/0.9113, allocations: 0 / 1.151 GB, free: 2.641 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001724/0.9115, allocations: 72 kB / 1.151 GB, free: 2.57 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.794e-05/0.9115, allocations: 47.98 kB / 1.151 GB, free: 2.523 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003347/0.9149, allocations: 1.875 MB / 1.153 GB, free: 0.6445 MB / 0.9044 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.007734/0.9226, allocations: 5.183 MB / 1.158 GB, free: 11.21 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003098/0.9258, allocations: 1.771 MB / 1.16 GB, free: 9.359 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001198/0.927, allocations: 0.6515 MB / 1.161 GB, free: 8.711 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009164/0.9279, allocations: 0.8078 MB / 1.161 GB, free: 7.734 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001626/0.9295, allocations: 0.888 MB / 1.162 GB, free: 6.828 MB / 0.92 GB Notification: Performance of pre-optimization done (n=146): time 4.478e-06/0.9296, allocations: 4 kB / 1.162 GB, free: 6.824 MB / 0.92 GB Notification: Performance of matching and sorting (n=146): time 0.006311/0.9359, allocations: 2.548 MB / 1.165 GB, free: 4.164 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001317/0.936, allocations: 205.1 kB / 1.165 GB, free: 3.918 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/0.9372, allocations: 0.8348 MB / 1.166 GB, free: 3.059 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001269/0.9373, allocations: 57.7 kB / 1.166 GB, free: 2.996 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004843/0.9378, allocations: 0.6445 MB / 1.166 GB, free: 2.34 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003767/0.9382, allocations: 489 kB / 1.167 GB, free: 1.855 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003758/0.9386, allocations: 238.8 kB / 1.167 GB, free: 1.617 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.9387, allocations: 349.9 kB / 1.167 GB, free: 1.27 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001071/0.9398, allocations: 474.3 kB / 1.168 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/0.941, allocations: 0.638 MB / 1.169 GB, free: 132 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002249/0.9432, allocations: 1.099 MB / 1.17 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.9432, allocations: 4 kB / 1.17 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003465/0.9467, allocations: 1.503 MB / 1.171 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.9467, allocations: 4.094 kB / 1.171 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.9468, allocations: 3.938 kB / 1.171 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009406/0.9477, allocations: 196.2 kB / 1.171 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/0.9492, allocations: 327.6 kB / 1.172 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005803/0.955, allocations: 7.279 MB / 1.179 GB, free: 4.965 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/0.9562, allocations: 146.8 kB / 1.179 GB, free: 4.82 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001227/0.9564, allocations: 55.95 kB / 1.179 GB, free: 4.766 MB / 0.9356 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.0006965/0.9571, allocations: 373.5 kB / 1.179 GB, free: 4.391 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003182/0.9574, allocations: 130.5 kB / 1.179 GB, free: 4.262 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004259/0.9617, allocations: 1.85 MB / 1.181 GB, free: 2.383 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.9617, allocations: 16 kB / 1.181 GB, free: 2.367 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.9617, allocations: 4 kB / 1.181 GB, free: 2.363 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-05/0.9617, allocations: 7.969 kB / 1.181 GB, free: 2.355 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006046/0.9678, allocations: 3.447 MB / 1.185 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.9678, allocations: 4 kB / 1.185 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001465/0.9693, allocations: 315.5 kB / 1.185 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000784/0.9701, allocations: 180.2 kB / 1.185 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/0.9702, allocations: 43.97 kB / 1.185 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005605/0.9758, allocations: 7.323 MB / 1.192 GB, free: 6.254 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.9758, allocations: 0 / 1.192 GB, free: 6.254 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003678/0.9795, allocations: 1.703 MB / 1.194 GB, free: 4.52 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006498/0.9802, allocations: 407 kB / 1.194 GB, free: 4.102 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002106/0.9804, allocations: 32 kB / 1.194 GB, free: 4.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/0.9816, allocations: 97.58 kB / 1.194 GB, free: 3.977 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002251/0.9819, allocations: 117.2 kB / 1.195 GB, free: 3.863 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001458/0.982, allocations: 71.94 kB / 1.195 GB, free: 3.793 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007656/0.9828, allocations: 0.5786 MB / 1.195 GB, free: 3.203 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9828, allocations: 3.938 kB / 1.195 GB, free: 3.199 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001404/0.9842, allocations: 0.5726 MB / 1.196 GB, free: 2.625 MB / 0.9512 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.005354/0.9896, allocations: 2.891 MB / 1.199 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.004977/0.9946, allocations: 2.273 MB / 1.201 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.9946, allocations: 8.5 kB / 1.201 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001926/0.9965, allocations: 1.301 MB / 1.202 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002068/0.9986, allocations: 0.5088 MB / 1.203 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01864/1.017, allocations: 10.62 MB / 1.213 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009403/1.018, allocations: 1.3 MB / 1.214 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001772/1.02, allocations: 434.1 kB / 1.215 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009158/1.021, allocations: 0.6437 MB / 1.215 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of SimCode: time 1.984e-06/1.021, allocations: 0 / 1.215 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5174/1.538, allocations: 36.41 MB / 1.251 GB, free: 279.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/14.06, allocations: 3.375 kB / 1.251 GB, free: 279.2 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)