Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_latest_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.001486/0.001491, allocations: 108 kB / 15.61 MB, free: 152 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.001677/0.001677, allocations: 193.3 kB / 16.53 MB, free: 6.699 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.202/1.202, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.358/2.358, allocations: 461.9 MB / 0.7346 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 60.69 kB / 0.8992 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2576, allocations: 157.4 MB / 1.053 GB, free: 8.203 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1625/0.4202, allocations: 176.2 MB / 1.225 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01651/0.4367, allocations: 15.65 MB / 1.24 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001042/0.4378, allocations: 35.75 kB / 1.24 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001493/0.4393, allocations: 0.6167 MB / 1.241 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003259/0.4426, allocations: 1.585 MB / 1.242 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003213/0.4458, allocations: 1.653 MB / 1.244 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00266/0.4485, allocations: 2.894 MB / 1.247 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4695/0.918, allocations: 1.844 MB / 1.249 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003032/0.921, allocations: 1.372 MB / 1.25 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001515/0.9226, allocations: 1.047 MB / 1.251 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005574/0.9231, allocations: 198.6 kB / 1.251 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002531/0.9257, allocations: 1.297 MB / 1.252 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005335/0.9262, allocations: 0.5738 MB / 1.253 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009907/0.9272, allocations: 1.035 MB / 1.254 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003757/0.931, allocations: 2.962 MB / 1.257 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.931, allocations: 0 / 1.257 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.252e-06/0.931, allocations: 0.875 kB / 1.257 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.872e-05/0.931, allocations: 0 / 1.257 GB, free: 4.586 MB / 0.9981 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.003562/0.9346, allocations: 2.308 MB / 1.259 GB, free: 19.49 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.9346, allocations: 12.28 kB / 1.259 GB, free: 19.49 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002469/0.9349, allocations: 238.9 kB / 1.259 GB, free: 19.44 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002788/0.9377, allocations: 466.4 kB / 1.26 GB, free: 19.34 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001344/0.939, allocations: 1.097 MB / 1.261 GB, free: 18.96 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.495e-05/0.9391, allocations: 124.1 kB / 1.261 GB, free: 18.95 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001691/0.9393, allocations: 157.9 kB / 1.261 GB, free: 18.95 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002524/0.9418, allocations: 1.78 MB / 1.263 GB, free: 18.71 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.352e-05/0.9419, allocations: 4.656 kB / 1.263 GB, free: 18.71 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001497/0.942, allocations: 69.25 kB / 1.263 GB, free: 18.71 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.576e-05/0.9421, allocations: 49.62 kB / 1.263 GB, free: 18.71 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003212/0.9453, allocations: 1.769 MB / 1.265 GB, free: 18.7 MB / 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.007647/0.953, allocations: 6.21 MB / 1.271 GB, free: 15.81 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0029/0.9559, allocations: 1.561 MB / 1.272 GB, free: 15.49 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001042/0.9569, allocations: 0.5631 MB / 1.273 GB, free: 15.48 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008361/0.9578, allocations: 0.8803 MB / 1.274 GB, free: 14.55 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001325/0.9591, allocations: 0.8017 MB / 1.275 GB, free: 14.47 MB / 1.014 GB Notification: Performance of pre-optimization done (n=126): time 2.935e-06/0.9591, allocations: 2.031 kB / 1.275 GB, free: 14.47 MB / 1.014 GB Notification: Performance of matching and sorting (n=126): time 0.004623/0.9638, allocations: 1.886 MB / 1.276 GB, free: 14.26 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.83e-05/0.9639, allocations: 199.3 kB / 1.277 GB, free: 14.04 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/0.965, allocations: 0.9789 MB / 1.278 GB, free: 13.89 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001045/0.9652, allocations: 57.42 kB / 1.278 GB, free: 13.86 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003896/0.9656, allocations: 0.6644 MB / 1.278 GB, free: 13.58 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000236/0.9658, allocations: 420.1 kB / 1.279 GB, free: 13.31 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003031/0.9661, allocations: 215 kB / 1.279 GB, free: 13.29 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.9662, allocations: 354.3 kB / 1.279 GB, free: 12.98 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008224/0.9671, allocations: 426.8 kB / 1.28 GB, free: 12.98 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009177/0.968, allocations: 0.5956 MB / 1.28 GB, free: 12.85 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001731/0.9697, allocations: 1.017 MB / 1.281 GB, free: 12.77 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.9697, allocations: 0 / 1.281 GB, free: 12.77 MB / 1.014 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002685/0.9724, allocations: 1.296 MB / 1.282 GB, free: 12.63 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.9725, allocations: 8.797 kB / 1.282 GB, free: 12.63 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.9725, allocations: 2.688 kB / 1.282 GB, free: 12.63 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005587/0.973, allocations: 84.64 kB / 1.283 GB, free: 12.62 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/0.9743, allocations: 282.8 kB / 1.283 GB, free: 12.62 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001948/0.9762, allocations: 1.653 MB / 1.284 GB, free: 11.24 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/0.9773, allocations: 134.1 kB / 1.285 GB, free: 11.19 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.758e-05/0.9774, allocations: 48.64 kB / 1.285 GB, free: 11.19 MB / 1.014 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.0006245/0.978, allocations: 374.6 kB / 1.285 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002384/0.9783, allocations: 141.5 kB / 1.285 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003342/0.9816, allocations: 1.618 MB / 1.287 GB, free: 10.87 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.9816, allocations: 14.59 kB / 1.287 GB, free: 10.87 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.9816, allocations: 0 / 1.287 GB, free: 10.87 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/0.9817, allocations: 8.812 kB / 1.287 GB, free: 10.87 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004723/0.9864, allocations: 3.176 MB / 1.29 GB, free: 10.47 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.9864, allocations: 1.125 kB / 1.29 GB, free: 10.47 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001177/0.9876, allocations: 267.1 kB / 1.29 GB, free: 10.47 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004311/0.988, allocations: 73.53 kB / 1.29 GB, free: 10.46 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.934e-05/0.9881, allocations: 37.06 kB / 1.29 GB, free: 10.46 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001736/0.9899, allocations: 1.679 MB / 1.292 GB, free: 9.074 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.9899, allocations: 1.219 kB / 1.292 GB, free: 9.074 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003751/0.9936, allocations: 2.179 MB / 1.294 GB, free: 8.82 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005286/0.9942, allocations: 395.1 kB / 1.294 GB, free: 8.645 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00019/0.9944, allocations: 31.05 kB / 1.294 GB, free: 8.637 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/0.9955, allocations: 89.7 kB / 1.294 GB, free: 8.637 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/0.9956, allocations: 93.27 kB / 1.295 GB, free: 8.637 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/0.9957, allocations: 62.45 kB / 1.295 GB, free: 8.637 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008241/0.9966, allocations: 0.6897 MB / 1.295 GB, free: 8.527 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9966, allocations: 0 / 1.295 GB, free: 8.527 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001185/0.9978, allocations: 0.5439 MB / 1.296 GB, free: 8.434 MB / 1.014 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.005241/1.003, allocations: 3.343 MB / 1.299 GB, free: 7.523 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003557/1.007, allocations: 1.667 MB / 1.301 GB, free: 7.363 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/1.007, allocations: 2.844 kB / 1.301 GB, free: 7.363 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001176/1.008, allocations: 0.7568 MB / 1.301 GB, free: 7.246 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002185/1.01, allocations: 0.5723 MB / 1.302 GB, free: 7.176 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01462/1.025, allocations: 10.71 MB / 1.312 GB, free: 3.621 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007917/1.025, allocations: 1.307 MB / 1.314 GB, free: 2.883 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001696/1.027, allocations: 441.3 kB / 1.314 GB, free: 2.746 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007794/1.028, allocations: 0.6634 MB / 1.315 GB, free: 2.742 MB / 1.014 GB Notification: Performance of SimCode: time 8.01e-07/1.028, allocations: 4 kB / 1.315 GB, free: 2.738 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2698/1.298, allocations: 37.03 MB / 1.351 GB, free: 6.309 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.94, allocations: 18.09 kB / 1.351 GB, free: 6.293 MB / 1.029 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_Cp_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_Cp.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1)