Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.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_Cp,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_Cp",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.001494/0.001494, 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.00171/0.00171, allocations: 192.8 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.294/1.294, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.133/2.133, allocations: 390.3 MB / 0.6647 GB, free: 256 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 63.91 kB / 0.8127 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4549/0.456, allocations: 140.3 MB / 0.9497 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1415/0.5976, allocations: 175.2 MB / 1.121 GB, free: 1.965 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01452/0.6121, allocations: 15.53 MB / 1.136 GB, free: 2.383 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004946/0.6126, allocations: 31.81 kB / 1.136 GB, free: 2.352 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001068/0.6137, allocations: 0.578 MB / 1.137 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00247/0.6162, allocations: 1.502 MB / 1.138 GB, free: 272 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002682/0.6189, allocations: 1.659 MB / 1.14 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001885/0.6208, allocations: 2.732 MB / 1.142 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001622/0.6225, allocations: 1.894 MB / 1.144 GB, free: 9.918 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002207/0.6247, allocations: 1.354 MB / 1.145 GB, free: 8.594 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008198/0.6255, allocations: 1.023 MB / 1.146 GB, free: 7.566 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002263/0.6257, allocations: 196 kB / 1.147 GB, free: 7.375 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001632/0.6274, allocations: 1.31 MB / 1.148 GB, free: 6.062 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003785/0.6278, allocations: 0.5724 MB / 1.149 GB, free: 5.488 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0006828/0.6285, allocations: 0.9989 MB / 1.149 GB, free: 4.484 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002245/0.6307, allocations: 2.905 MB / 1.152 GB, free: 1.57 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.6307, allocations: 0 / 1.152 GB, free: 1.57 MB / 0.9044 GB Notification: Performance of FrontEnd: time 9.92e-07/0.6307, allocations: 0 / 1.152 GB, free: 1.57 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.457e-05/0.6307, allocations: 0 / 1.152 GB, free: 1.57 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: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.003018/0.6338, allocations: 2.284 MB / 1.155 GB, free: 15.22 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 2.916e-05/0.6338, allocations: 12.03 kB / 1.155 GB, free: 15.21 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002145/0.634, allocations: 232.3 kB / 1.155 GB, free: 14.97 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002566/0.6366, allocations: 473 kB / 1.155 GB, free: 14.51 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/0.6378, allocations: 1.101 MB / 1.156 GB, free: 13.36 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.205e-05/0.6379, allocations: 119.2 kB / 1.156 GB, free: 13.25 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001703/0.6381, allocations: 156 kB / 1.157 GB, free: 13.09 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002354/0.6405, allocations: 1.78 MB / 1.158 GB, free: 11.23 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.717e-05/0.6405, allocations: 4 kB / 1.158 GB, free: 11.23 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001276/0.6406, allocations: 68 kB / 1.158 GB, free: 11.16 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.297e-05/0.6407, allocations: 51.98 kB / 1.158 GB, free: 11.11 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002533/0.6432, allocations: 1.772 MB / 1.16 GB, free: 9.336 MB / 0.92 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.006246/0.6495, allocations: 5.894 MB / 1.166 GB, free: 3.148 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00223/0.6517, allocations: 1.556 MB / 1.167 GB, free: 1.531 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008558/0.6526, allocations: 0.5632 MB / 1.168 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006957/0.6533, allocations: 0.8828 MB / 1.169 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001151/0.6544, allocations: 0.7972 MB / 1.17 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=126): time 2.114e-06/0.6545, allocations: 4 kB / 1.17 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of matching and sorting (n=126): time 0.003949/0.6584, allocations: 1.887 MB / 1.171 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.13e-05/0.6585, allocations: 200.9 kB / 1.172 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009663/0.6595, allocations: 0.9798 MB / 1.173 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.329e-05/0.6596, allocations: 57.7 kB / 1.173 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003905/0.66, allocations: 0.6568 MB / 1.173 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002489/0.6602, allocations: 417.9 kB / 1.174 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002764/0.6605, allocations: 218.8 kB / 1.174 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.484e-05/0.6606, allocations: 345.9 kB / 1.174 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000753/0.6614, allocations: 430.4 kB / 1.175 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008797/0.6622, allocations: 0.5897 MB / 1.175 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001623/0.6639, allocations: 1.023 MB / 1.176 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.6639, allocations: 4 kB / 1.176 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002435/0.6663, allocations: 1.304 MB / 1.178 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.6663, allocations: 4 kB / 1.178 GB, free: 6.793 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.6664, allocations: 0 / 1.178 GB, free: 6.793 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005098/0.6669, allocations: 88.92 kB / 1.178 GB, free: 6.703 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/0.668, allocations: 279.6 kB / 1.178 GB, free: 6.43 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06644/0.7345, allocations: 1.65 MB / 1.179 GB, free: 4.633 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/0.7355, allocations: 137.6 kB / 1.18 GB, free: 4.5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.703e-05/0.7356, allocations: 43.97 kB / 1.18 GB, free: 4.457 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (136): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005521/0.7362, allocations: 390.1 kB / 1.18 GB, free: 4.066 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002121/0.7364, allocations: 150.2 kB / 1.18 GB, free: 3.918 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002996/0.7394, allocations: 1.598 MB / 1.182 GB, free: 2.301 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.7394, allocations: 16 kB / 1.182 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-06/0.7394, allocations: 4 kB / 1.182 GB, free: 2.281 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/0.7395, allocations: 7.969 kB / 1.182 GB, free: 2.273 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004297/0.7438, allocations: 3.157 MB / 1.185 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.7438, allocations: 7.938 kB / 1.185 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/0.7449, allocations: 271.7 kB / 1.185 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000398/0.7453, allocations: 76.78 kB / 1.185 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.513e-05/0.7454, allocations: 39.97 kB / 1.185 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001582/0.747, allocations: 1.67 MB / 1.187 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.747, allocations: 0 / 1.187 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003553/0.7506, allocations: 2.18 MB / 1.189 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004568/0.751, allocations: 402.9 kB / 1.189 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001684/0.7512, allocations: 20 kB / 1.189 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009812/0.7522, allocations: 96.59 kB / 1.189 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/0.7524, allocations: 89.19 kB / 1.19 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/0.7525, allocations: 67.89 kB / 1.19 GB, free: 9.977 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007325/0.7532, allocations: 0.6841 MB / 1.19 GB, free: 9.285 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7532, allocations: 0 / 1.19 GB, free: 9.285 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001024/0.7542, allocations: 0.5219 MB / 1.191 GB, free: 8.762 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * 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 (137): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005202/0.7595, allocations: 3.347 MB / 1.194 GB, free: 5.574 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003553/0.763, allocations: 1.658 MB / 1.196 GB, free: 3.902 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.763, allocations: 448 / 1.196 GB, free: 3.902 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001226/0.7643, allocations: 0.7636 MB / 1.196 GB, free: 3.125 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002116/0.7664, allocations: 0.5603 MB / 1.197 GB, free: 2.59 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01533/0.7817, allocations: 10.82 MB / 1.208 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007518/0.7825, allocations: 1.311 MB / 1.209 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.00146/0.784, allocations: 438.8 kB / 1.209 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008057/0.7848, allocations: 0.6672 MB / 1.21 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of SimCode: time 6.92e-07/0.7848, allocations: 3.938 kB / 1.21 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.681/3.466, allocations: 36.34 MB / 1.245 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.59/20.06, allocations: 3.984 kB / 1.245 GB, free: 1.016 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_Outside_Cp_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_Outside_Cp.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1)