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.001195/0.001195, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001202/0.001202, allocations: 192 kB / 16.25 MB, free: 6.621 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.191/1.191, allocations: 222.9 MB / 239.9 MB, free: 4.578 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.025/2.025, allocations: 390.2 MB / 0.6644 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 59.91 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.454/0.4552, allocations: 140.4 MB / 0.9492 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1509/0.6062, allocations: 172.8 MB / 1.118 GB, free: 4.566 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0157/0.6219, allocations: 15.38 MB / 1.133 GB, free: 5.145 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000913/0.6228, allocations: 31.81 kB / 1.133 GB, free: 5.113 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001275/0.6241, allocations: 0.4894 MB / 1.134 GB, free: 4.621 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00307/0.6272, allocations: 1.371 MB / 1.135 GB, free: 3.246 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003088/0.6303, allocations: 1.509 MB / 1.136 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002558/0.6329, allocations: 2.751 MB / 1.139 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002026/0.6349, allocations: 1.89 MB / 1.141 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003682/0.6386, allocations: 1.353 MB / 1.142 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00111/0.6397, allocations: 1.058 MB / 1.143 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002937/0.64, allocations: 199.9 kB / 1.143 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001857/0.6419, allocations: 1.349 MB / 1.145 GB, free: 9.102 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000457/0.6424, allocations: 0.5609 MB / 1.145 GB, free: 8.539 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0008966/0.6433, allocations: 1.007 MB / 1.146 GB, free: 7.527 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002722/0.646, allocations: 2.975 MB / 1.149 GB, free: 4.543 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.646, allocations: 0 / 1.149 GB, free: 4.543 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.132e-06/0.646, allocations: 4 kB / 1.149 GB, free: 4.539 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.517e-05/0.6461, allocations: 0 / 1.149 GB, free: 4.539 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.003661/0.6497, allocations: 2.28 MB / 1.151 GB, free: 2.195 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.6498, allocations: 8.031 kB / 1.151 GB, free: 2.188 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002525/0.65, allocations: 240.3 kB / 1.152 GB, free: 1.941 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002753/0.6528, allocations: 465 kB / 1.152 GB, free: 1.484 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001384/0.6542, allocations: 1.101 MB / 1.153 GB, free: 348 kB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.276e-05/0.6543, allocations: 127.2 kB / 1.153 GB, free: 220 kB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001782/0.6545, allocations: 156 kB / 1.153 GB, free: 64 kB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002655/0.6571, allocations: 1.784 MB / 1.155 GB, free: 14.2 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.221e-05/0.6572, allocations: 4 kB / 1.155 GB, free: 14.2 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001411/0.6573, allocations: 72 kB / 1.155 GB, free: 14.12 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.808e-05/0.6574, allocations: 40 kB / 1.155 GB, free: 14.09 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002684/0.6601, allocations: 1.776 MB / 1.157 GB, free: 12.3 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.006813/0.6669, allocations: 5.866 MB / 1.163 GB, free: 6.145 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002352/0.6692, allocations: 1.569 MB / 1.164 GB, free: 4.52 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008779/0.6701, allocations: 0.5639 MB / 1.165 GB, free: 3.953 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007659/0.6709, allocations: 0.8905 MB / 1.166 GB, free: 2.879 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001261/0.6722, allocations: 0.7972 MB / 1.166 GB, free: 2.059 MB / 0.92 GB Notification: Performance of pre-optimization done (n=126): time 2.364e-06/0.6722, allocations: 0 / 1.166 GB, free: 2.059 MB / 0.92 GB Notification: Performance of matching and sorting (n=126): time 0.004151/0.6763, allocations: 1.887 MB / 1.168 GB, free: 152 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.092e-05/0.6764, allocations: 200.9 kB / 1.169 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.6775, allocations: 0.9837 MB / 1.169 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.568e-05/0.6776, allocations: 49.7 kB / 1.17 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004178/0.678, allocations: 0.6646 MB / 1.17 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002854/0.6783, allocations: 417.9 kB / 1.171 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003044/0.6786, allocations: 214.8 kB / 1.171 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.6788, allocations: 345.9 kB / 1.171 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007882/0.6796, allocations: 430.4 kB / 1.172 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009118/0.6805, allocations: 0.5936 MB / 1.172 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001666/0.6821, allocations: 1.015 MB / 1.173 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.6822, allocations: 0 / 1.173 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.00253/0.6847, allocations: 1.3 MB / 1.174 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.6847, allocations: 8.094 kB / 1.174 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.6847, allocations: 12 kB / 1.174 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005487/0.6853, allocations: 80.78 kB / 1.174 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.6865, allocations: 287.6 kB / 1.175 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3943/1.081, allocations: 1.649 MB / 1.176 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/1.082, allocations: 150.9 kB / 1.176 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.911e-05/1.082, allocations: 55.95 kB / 1.177 GB, free: 7.41 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.0006542/1.083, allocations: 377.4 kB / 1.177 GB, free: 7.031 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002379/1.083, allocations: 146.2 kB / 1.177 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003166/1.086, allocations: 1.606 MB / 1.179 GB, free: 5.262 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/1.086, allocations: 12 kB / 1.179 GB, free: 5.25 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/1.086, allocations: 0 / 1.179 GB, free: 5.25 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/1.087, allocations: 11.97 kB / 1.179 GB, free: 5.238 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004512/1.091, allocations: 3.157 MB / 1.182 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/1.091, allocations: 3.938 kB / 1.182 GB, free: 2.023 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001114/1.092, allocations: 263.7 kB / 1.182 GB, free: 1.766 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004137/1.093, allocations: 84.78 kB / 1.182 GB, free: 1.68 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.013e-05/1.093, allocations: 35.97 kB / 1.182 GB, free: 1.645 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00165/1.094, allocations: 1.67 MB / 1.184 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/1.094, allocations: 3.984 kB / 1.184 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003626/1.098, allocations: 2.176 MB / 1.186 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004991/1.098, allocations: 406.9 kB / 1.186 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001734/1.099, allocations: 36.05 kB / 1.186 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/1.1, allocations: 113.8 kB / 1.186 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/1.1, allocations: 93.19 kB / 1.186 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/1.1, allocations: 59.95 kB / 1.187 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007815/1.101, allocations: 0.6841 MB / 1.187 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.91e-07/1.101, allocations: 0 / 1.187 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001053/1.102, allocations: 0.522 MB / 1.188 GB, free: 11.7 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.005298/1.107, allocations: 3.341 MB / 1.191 GB, free: 8.52 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003577/1.111, allocations: 1.662 MB / 1.193 GB, free: 6.844 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.111, allocations: 4.438 kB / 1.193 GB, free: 6.84 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001213/1.112, allocations: 0.7597 MB / 1.193 GB, free: 6.07 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001993/1.114, allocations: 0.5551 MB / 1.194 GB, free: 5.543 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01762/1.132, allocations: 11.5 MB / 1.205 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008062/1.132, allocations: 1.307 MB / 1.206 GB, free: 8.316 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001447/1.134, allocations: 438.8 kB / 1.207 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008158/1.135, allocations: 0.671 MB / 1.207 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of SimCode: time 2.41e-07/1.135, allocations: 0 / 1.207 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.62/2.755, allocations: 36.09 MB / 1.243 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002449/2.755, allocations: 270.7 kB / 1.243 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.759/5.514, allocations: 0 / 1.243 GB, free: 3.211 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)