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.004131/0.004131, allocations: 102.3 kB / 15.73 MB, free: 5.988 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.001044/0.001044, allocations: 194.7 kB / 16.67 MB, free: 5.926 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.282/1.282, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.338/2.338, allocations: 390.2 MB / 0.6648 GB, free: 260 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 66.64 kB / 0.9504 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2184, allocations: 140.4 MB / 1.087 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1662/0.3846, allocations: 175.2 MB / 1.259 GB, free: 2.141 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.5207/0.9054, allocations: 15.53 MB / 1.274 GB, free: 3.133 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001182/0.9066, allocations: 32.03 kB / 1.274 GB, free: 3.133 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001411/0.908, allocations: 0.5753 MB / 1.274 GB, free: 3.121 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003842/0.9119, allocations: 1.499 MB / 1.276 GB, free: 3.066 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004235/0.9162, allocations: 1.664 MB / 1.277 GB, free: 3.02 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003721/0.9199, allocations: 2.742 MB / 1.28 GB, free: 3.016 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002602/0.9225, allocations: 1.898 MB / 1.282 GB, free: 2.754 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003235/0.9258, allocations: 1.36 MB / 1.283 GB, free: 2.727 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001338/0.9271, allocations: 1.026 MB / 1.284 GB, free: 2.723 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003605/0.9275, allocations: 199.7 kB / 1.284 GB, free: 2.723 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002832/0.9303, allocations: 1.339 MB / 1.286 GB, free: 2.703 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005401/0.9309, allocations: 0.5643 MB / 1.286 GB, free: 2.703 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001058/0.9319, allocations: 1.002 MB / 1.287 GB, free: 2.648 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003883/0.9358, allocations: 2.964 MB / 1.29 GB, free: 2.227 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.9359, allocations: 3.125 kB / 1.29 GB, free: 2.227 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.373e-06/0.9359, allocations: 1.688 kB / 1.29 GB, free: 2.227 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.134e-05/0.9359, allocations: 0 / 1.29 GB, free: 2.227 MB / 1.014 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.004179/0.9401, allocations: 2.278 MB / 1.292 GB, free: 1.137 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.9401, allocations: 10.53 kB / 1.292 GB, free: 1.137 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002882/0.9404, allocations: 234.2 kB / 1.293 GB, free: 1.09 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003214/0.9437, allocations: 469.2 kB / 1.293 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001841/0.9455, allocations: 1.151 MB / 1.294 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.901e-05/0.9456, allocations: 121.6 kB / 1.294 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002216/0.9458, allocations: 154.4 kB / 1.294 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002984/0.9488, allocations: 1.783 MB / 1.296 GB, free: 356 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.913e-05/0.9489, allocations: 5.312 kB / 1.296 GB, free: 356 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001659/0.9491, allocations: 68.53 kB / 1.296 GB, free: 356 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.797e-05/0.9491, allocations: 47.7 kB / 1.296 GB, free: 356 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003104/0.9522, allocations: 1.771 MB / 1.298 GB, free: 340 kB / 1.014 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.007733/0.96, allocations: 5.833 MB / 1.304 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002593/0.9626, allocations: 1.561 MB / 1.305 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009955/0.9636, allocations: 0.565 MB / 1.306 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008539/0.9645, allocations: 0.8832 MB / 1.307 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001366/0.9658, allocations: 0.7983 MB / 1.307 GB, free: 12.46 MB / 1.029 GB Notification: Performance of pre-optimization done (n=126): time 6.252e-06/0.9659, allocations: 4.828 kB / 1.307 GB, free: 12.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=126): time 0.004834/0.9707, allocations: 1.888 MB / 1.309 GB, free: 12.22 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.3e-05/0.9708, allocations: 200.5 kB / 1.31 GB, free: 12 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/0.9721, allocations: 0.9772 MB / 1.31 GB, free: 11.86 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001366/0.9722, allocations: 56.39 kB / 1.311 GB, free: 11.82 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000495/0.9727, allocations: 0.6627 MB / 1.311 GB, free: 11.55 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003486/0.9731, allocations: 414.9 kB / 1.312 GB, free: 11.29 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003804/0.9735, allocations: 215.6 kB / 1.312 GB, free: 11.26 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.9736, allocations: 350.4 kB / 1.312 GB, free: 10.95 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009158/0.9745, allocations: 429 kB / 1.313 GB, free: 10.95 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001037/0.9756, allocations: 0.5918 MB / 1.313 GB, free: 10.81 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001891/0.9775, allocations: 1.023 MB / 1.314 GB, free: 10.73 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.9775, allocations: 0 / 1.314 GB, free: 10.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002951/0.9805, allocations: 1.299 MB / 1.315 GB, free: 10.59 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.9805, allocations: 5.562 kB / 1.315 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.9805, allocations: 2.75 kB / 1.315 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006/0.9811, allocations: 91 kB / 1.315 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/0.9824, allocations: 279.2 kB / 1.316 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002023/0.9845, allocations: 1.646 MB / 1.317 GB, free: 9.203 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/0.9857, allocations: 135.6 kB / 1.317 GB, free: 9.145 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.9858, allocations: 46.91 kB / 1.318 GB, free: 9.145 MB / 1.029 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.0006942/0.9866, allocations: 388.2 kB / 1.318 GB, free: 9.02 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003031/0.9869, allocations: 136.2 kB / 1.318 GB, free: 8.953 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003509/0.9904, allocations: 1.612 MB / 1.32 GB, free: 8.816 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.9904, allocations: 13.34 kB / 1.32 GB, free: 8.816 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.9904, allocations: 0 / 1.32 GB, free: 8.816 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.381e-05/0.9904, allocations: 6.781 kB / 1.32 GB, free: 8.816 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004967/0.9954, allocations: 3.162 MB / 1.323 GB, free: 8.426 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.9954, allocations: 0 / 1.323 GB, free: 8.426 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001238/0.9967, allocations: 266.4 kB / 1.323 GB, free: 8.426 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004468/0.9971, allocations: 77.73 kB / 1.323 GB, free: 8.418 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.544e-05/0.9972, allocations: 37.77 kB / 1.323 GB, free: 8.418 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001809/0.999, allocations: 1.672 MB / 1.325 GB, free: 6.918 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.9991, allocations: 3.188 kB / 1.325 GB, free: 6.918 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004026/1.003, allocations: 2.18 MB / 1.327 GB, free: 5.98 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006506/1.004, allocations: 400.8 kB / 1.327 GB, free: 5.711 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001943/1.004, allocations: 28.94 kB / 1.327 GB, free: 5.691 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/1.005, allocations: 87.3 kB / 1.327 GB, free: 5.672 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001728/1.005, allocations: 96.62 kB / 1.327 GB, free: 5.656 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001181/1.005, allocations: 61.86 kB / 1.327 GB, free: 5.645 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0008228/1.006, allocations: 0.6826 MB / 1.328 GB, free: 5.359 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.1e-07/1.006, allocations: 0.9062 kB / 1.328 GB, free: 5.359 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001335/1.008, allocations: 0.5329 MB / 1.329 GB, free: 5.211 MB / 1.029 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.005719/1.013, allocations: 3.338 MB / 1.332 GB, free: 3.574 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002436/1.016, allocations: 1.253 MB / 1.333 GB, free: 3.109 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/1.016, allocations: 7.016 kB / 1.333 GB, free: 3.105 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001316/1.017, allocations: 0.7591 MB / 1.334 GB, free: 2.812 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002378/1.02, allocations: 0.558 MB / 1.334 GB, free: 2.633 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01751/1.037, allocations: 10.22 MB / 1.344 GB, free: 14.3 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007709/1.038, allocations: 1.311 MB / 1.346 GB, free: 13.53 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001516/1.039, allocations: 437.4 kB / 1.346 GB, free: 13.4 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000876/1.04, allocations: 0.6668 MB / 1.347 GB, free: 12.91 MB / 1.045 GB Notification: Performance of SimCode: time 6.21e-07/1.04, allocations: 0 / 1.347 GB, free: 12.91 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5431/1.583, allocations: 36.68 MB / 1.383 GB, free: 5.41 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.81/15.39, allocations: 7.969 kB / 1.383 GB, free: 5.402 MB / 1.061 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)