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.001471/0.001471, 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.0016/0.0016, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.264/1.264, allocations: 222.9 MB / 239.9 MB, free: 4.512 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.231/2.231, allocations: 390.2 MB / 0.6644 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 63.91 kB / 0.8122 GB, free: 14.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5565/0.5577, allocations: 140.4 MB / 0.9492 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1699/0.7276, allocations: 164.8 MB / 1.11 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02589/0.7536, allocations: 16.73 MB / 1.126 GB, free: 11.87 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001298/0.7549, allocations: 27.81 kB / 1.126 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001793/0.7567, allocations: 445.3 kB / 1.127 GB, free: 11.4 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004933/0.7617, allocations: 1.384 MB / 1.128 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003734/0.7654, allocations: 1.188 MB / 1.129 GB, free: 8.84 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003482/0.7689, allocations: 2.486 MB / 1.132 GB, free: 6.344 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00305/0.772, allocations: 1.94 MB / 1.134 GB, free: 4.355 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004517/0.7765, allocations: 1.311 MB / 1.135 GB, free: 3.09 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001191/0.7777, allocations: 0.9841 MB / 1.136 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0003953/0.7781, allocations: 212 kB / 1.136 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00217/0.7803, allocations: 1.427 MB / 1.138 GB, free: 476 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0005576/0.7809, allocations: 0.5646 MB / 1.138 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001121/0.782, allocations: 0.9951 MB / 1.139 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003256/0.7853, allocations: 3.05 MB / 1.142 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.7853, allocations: 0 / 1.142 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.062e-06/0.7853, allocations: 0 / 1.142 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.619e-05/0.7854, allocations: 0 / 1.142 GB, free: 11.84 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.004073/0.7895, allocations: 2.256 MB / 1.144 GB, free: 9.52 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.7895, allocations: 12.03 kB / 1.144 GB, free: 9.508 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000264/0.7898, allocations: 249 kB / 1.145 GB, free: 9.254 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00342/0.7932, allocations: 0.5089 MB / 1.145 GB, free: 8.742 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001421/0.7946, allocations: 1.082 MB / 1.146 GB, free: 7.617 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.104e-05/0.7947, allocations: 127.4 kB / 1.146 GB, free: 7.492 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002073/0.7949, allocations: 168 kB / 1.146 GB, free: 7.328 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002853/0.7978, allocations: 1.835 MB / 1.148 GB, free: 5.441 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.196e-05/0.7978, allocations: 11.94 kB / 1.148 GB, free: 5.43 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001497/0.798, allocations: 75.94 kB / 1.148 GB, free: 5.355 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.011e-05/0.798, allocations: 40 kB / 1.148 GB, free: 5.316 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002947/0.801, allocations: 1.878 MB / 1.15 GB, free: 3.434 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.007818/0.8088, allocations: 5.171 MB / 1.155 GB, free: 14.01 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003158/0.812, allocations: 1.765 MB / 1.157 GB, free: 12.17 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001169/0.8132, allocations: 0.6515 MB / 1.158 GB, free: 11.52 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009021/0.8141, allocations: 0.8117 MB / 1.158 GB, free: 10.54 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001633/0.8158, allocations: 0.8879 MB / 1.159 GB, free: 9.633 MB / 0.92 GB Notification: Performance of pre-optimization done (n=146): time 3.106e-06/0.8158, allocations: 4 kB / 1.159 GB, free: 9.629 MB / 0.92 GB Notification: Performance of matching and sorting (n=146): time 0.005833/0.8216, allocations: 2.552 MB / 1.162 GB, free: 6.965 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.84e-05/0.8217, allocations: 201.2 kB / 1.162 GB, free: 6.723 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/0.8228, allocations: 0.8309 MB / 1.163 GB, free: 5.867 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001375/0.8229, allocations: 61.7 kB / 1.163 GB, free: 5.801 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004724/0.8234, allocations: 0.6445 MB / 1.163 GB, free: 5.145 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003754/0.8238, allocations: 485 kB / 1.164 GB, free: 4.664 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003692/0.8241, allocations: 242.8 kB / 1.164 GB, free: 4.422 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.8243, allocations: 349.9 kB / 1.164 GB, free: 4.074 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009353/0.8252, allocations: 474.3 kB / 1.165 GB, free: 3.609 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/0.8263, allocations: 0.6341 MB / 1.165 GB, free: 2.941 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002067/0.8284, allocations: 1.099 MB / 1.167 GB, free: 1.828 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.8284, allocations: 0 / 1.167 GB, free: 1.828 MB / 0.92 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003219/0.8316, allocations: 1.503 MB / 1.168 GB, free: 308 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.8317, allocations: 8 kB / 1.168 GB, free: 300 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.8317, allocations: 0 / 1.168 GB, free: 300 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008644/0.8325, allocations: 188.1 kB / 1.168 GB, free: 96 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001427/0.834, allocations: 327.6 kB / 1.169 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005837/0.8398, allocations: 7.285 MB / 1.176 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/0.841, allocations: 164.6 kB / 1.176 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/0.8412, allocations: 55.95 kB / 1.176 GB, free: 7.566 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.0006848/0.8418, allocations: 381.6 kB / 1.176 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002676/0.8421, allocations: 126.5 kB / 1.176 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003903/0.846, allocations: 1.85 MB / 1.178 GB, free: 5.18 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.8461, allocations: 16 kB / 1.178 GB, free: 5.164 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.8461, allocations: 0 / 1.178 GB, free: 5.164 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/0.8461, allocations: 7.969 kB / 1.178 GB, free: 5.156 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005565/0.8517, allocations: 3.454 MB / 1.182 GB, free: 1.629 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.8517, allocations: 0 / 1.182 GB, free: 1.629 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001405/0.8531, allocations: 315.6 kB / 1.182 GB, free: 1.32 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006899/0.8538, allocations: 176.2 kB / 1.182 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001122/0.8539, allocations: 39.97 kB / 1.182 GB, free: 1.094 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005746/0.8597, allocations: 7.327 MB / 1.189 GB, free: 9.059 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.8597, allocations: 0 / 1.189 GB, free: 9.059 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003704/0.8634, allocations: 1.707 MB / 1.191 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005743/0.864, allocations: 410.9 kB / 1.191 GB, free: 6.895 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001793/0.8642, allocations: 28 kB / 1.191 GB, free: 6.867 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/0.8653, allocations: 127.8 kB / 1.191 GB, free: 6.742 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002135/0.8656, allocations: 113.1 kB / 1.192 GB, free: 6.633 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001375/0.8657, allocations: 71.95 kB / 1.192 GB, free: 6.562 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007196/0.8664, allocations: 0.5786 MB / 1.192 GB, free: 5.973 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8664, allocations: 0 / 1.192 GB, free: 5.973 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001321/0.8678, allocations: 0.5805 MB / 1.193 GB, free: 5.391 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.00499/0.8728, allocations: 2.883 MB / 1.196 GB, free: 2.652 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004565/0.8773, allocations: 2.273 MB / 1.198 GB, free: 320 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.8774, allocations: 4.562 kB / 1.198 GB, free: 316 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001789/0.8792, allocations: 1.305 MB / 1.199 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001888/0.8811, allocations: 0.5032 MB / 1.2 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01854/0.8996, allocations: 11.34 MB / 1.211 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008286/0.9004, allocations: 1.292 MB / 1.212 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001567/0.902, allocations: 442.1 kB / 1.212 GB, free: 1 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008439/0.9029, allocations: 0.6476 MB / 1.213 GB, free: 364 kB / 0.9669 GB Notification: Performance of SimCode: time 3.01e-07/0.9029, allocations: 0 / 1.213 GB, free: 364 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8439/1.747, allocations: 36.19 MB / 1.248 GB, free: 281.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001799/1.747, allocations: 280.5 kB / 1.249 GB, free: 281.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.92/4.667, allocations: 1.594 kB / 1.249 GB, free: 281.3 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)