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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0008646/0.0008646, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005037/0.005037, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.28/1.28, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.413/2.413, allocations: 462.6 MB / 0.7364 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002968/0.0002968, allocations: 13.28 kB / 0.9029 GB, free: 36.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2415, allocations: 159.6 MB / 1.059 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1618/0.4034, allocations: 171.5 MB / 1.226 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0172/0.4206, allocations: 15.47 MB / 1.241 GB, free: 9.117 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00114/0.4218, allocations: 27.81 kB / 1.241 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001433/0.4232, allocations: 0.5164 MB / 1.242 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003529/0.4268, allocations: 1.415 MB / 1.243 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003337/0.4301, allocations: 1.501 MB / 1.245 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003391/0.4335, allocations: 3.335 MB / 1.248 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002143/0.4357, allocations: 1.569 MB / 1.25 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4962/0.9318, allocations: 1.069 MB / 1.251 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001807/0.9337, allocations: 0.8675 MB / 1.251 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005515/0.9343, allocations: 48.78 kB / 1.251 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003256/0.9375, allocations: 1.341 MB / 1.253 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005439/0.9381, allocations: 401.6 kB / 1.253 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001111/0.9392, allocations: 0.8553 MB / 1.254 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003235/0.9424, allocations: 2.862 MB / 1.257 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.9425, allocations: 0.7031 kB / 1.257 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.9425, allocations: 1.781 kB / 1.257 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.545e-05/0.9425, allocations: 0 / 1.257 GB, free: 5.406 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.003137/0.9456, allocations: 1.922 MB / 1.259 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.9457, allocations: 14.34 kB / 1.259 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002564/0.946, allocations: 235.7 kB / 1.259 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002858/0.9488, allocations: 480.9 kB / 1.259 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001465/0.9503, allocations: 1.105 MB / 1.26 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.346e-05/0.9504, allocations: 118.5 kB / 1.261 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001951/0.9506, allocations: 162.3 kB / 1.261 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002852/0.9534, allocations: 1.791 MB / 1.262 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.374e-05/0.9535, allocations: 0 / 1.262 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001476/0.9536, allocations: 69.59 kB / 1.263 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-05/0.9537, allocations: 46.27 kB / 1.263 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002902/0.9566, allocations: 1.78 MB / 1.264 GB, free: 3.551 MB / 0.9981 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.008665/0.9653, allocations: 6.221 MB / 1.27 GB, free: 16.64 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002767/0.9681, allocations: 1.577 MB / 1.272 GB, free: 16.3 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001071/0.9691, allocations: 0.5638 MB / 1.272 GB, free: 16.3 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009555/0.9701, allocations: 0.8865 MB / 1.273 GB, free: 15.36 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001617/0.9717, allocations: 0.8026 MB / 1.274 GB, free: 15.28 MB / 1.014 GB Notification: Performance of pre-optimization done (n=126): time 3.196e-06/0.9717, allocations: 0 / 1.274 GB, free: 15.28 MB / 1.014 GB Notification: Performance of matching and sorting (n=126): time 0.005191/0.9769, allocations: 1.903 MB / 1.276 GB, free: 15.05 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/0.9771, allocations: 198.9 kB / 1.276 GB, free: 14.83 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/0.9784, allocations: 0.9794 MB / 1.277 GB, free: 14.68 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001134/0.9785, allocations: 53.17 kB / 1.277 GB, free: 14.65 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004396/0.979, allocations: 0.6674 MB / 1.278 GB, free: 14.37 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002462/0.9792, allocations: 419.1 kB / 1.278 GB, free: 14.11 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.9794, allocations: 89.22 kB / 1.278 GB, free: 14.09 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.9795, allocations: 357 kB / 1.279 GB, free: 13.78 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008245/0.9803, allocations: 430.9 kB / 1.279 GB, free: 13.78 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009501/0.9813, allocations: 0.5967 MB / 1.28 GB, free: 13.64 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001905/0.9832, allocations: 1.022 MB / 1.281 GB, free: 13.55 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.9832, allocations: 0 / 1.281 GB, free: 13.55 MB / 1.014 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002763/0.986, allocations: 1.311 MB / 1.282 GB, free: 13.4 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.986, allocations: 9.375 kB / 1.282 GB, free: 13.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.9861, allocations: 3.562 kB / 1.282 GB, free: 13.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005892/0.9866, allocations: 89 kB / 1.282 GB, free: 13.39 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.9879, allocations: 277.1 kB / 1.282 GB, free: 13.39 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001899/0.9898, allocations: 1.553 MB / 1.284 GB, free: 12.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.9911, allocations: 169.7 kB / 1.284 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.009e-05/0.9912, allocations: 50.45 kB / 1.284 GB, free: 12.04 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.0006253/0.9918, allocations: 374.9 kB / 1.284 GB, free: 11.92 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002041/0.992, allocations: 142.3 kB / 1.285 GB, free: 11.84 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003242/0.9953, allocations: 1.614 MB / 1.286 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/0.9953, allocations: 17.81 kB / 1.286 GB, free: 11.7 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.9953, allocations: 0 / 1.286 GB, free: 11.7 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.9953, allocations: 9.422 kB / 1.286 GB, free: 11.7 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00484/1, allocations: 3.176 MB / 1.289 GB, free: 11.29 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/1, allocations: 6.953 kB / 1.289 GB, free: 11.29 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001188/1.001, allocations: 274.2 kB / 1.29 GB, free: 11.29 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005003/1.002, allocations: 93.7 kB / 1.29 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.078e-05/1.002, allocations: 34.7 kB / 1.29 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001747/1.004, allocations: 1.565 MB / 1.291 GB, free: 9.977 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/1.004, allocations: 0 / 1.291 GB, free: 9.977 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003837/1.008, allocations: 2.183 MB / 1.293 GB, free: 9.715 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006111/1.008, allocations: 417.7 kB / 1.294 GB, free: 9.527 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001716/1.008, allocations: 27.53 kB / 1.294 GB, free: 9.527 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/1.01, allocations: 138.7 kB / 1.294 GB, free: 9.512 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001848/1.01, allocations: 98.08 kB / 1.294 GB, free: 9.512 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/1.01, allocations: 57.61 kB / 1.294 GB, free: 9.512 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008629/1.011, allocations: 0.6842 MB / 1.295 GB, free: 9.402 MB / 1.014 GB Notification: Performance of sort global known variables: time 9.52e-07/1.011, allocations: 0 / 1.295 GB, free: 9.402 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001329/1.012, allocations: 0.5518 MB / 1.295 GB, free: 9.309 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.005277/1.017, allocations: 3.345 MB / 1.298 GB, free: 8.391 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002301/1.02, allocations: 1.259 MB / 1.3 GB, free: 8.242 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/1.02, allocations: 2.469 kB / 1.3 GB, free: 8.242 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001229/1.021, allocations: 0.7617 MB / 1.3 GB, free: 8.121 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0024/1.023, allocations: 0.5427 MB / 1.301 GB, free: 8.078 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01665/1.04, allocations: 11.46 MB / 1.312 GB, free: 3.711 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007533/1.041, allocations: 1.309 MB / 1.313 GB, free: 2.969 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001618/1.042, allocations: 446.3 kB / 1.314 GB, free: 2.832 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000713/1.043, allocations: 0.6596 MB / 1.315 GB, free: 2.828 MB / 1.014 GB Notification: Performance of SimCode: time 5.11e-07/1.043, allocations: 4 kB / 1.315 GB, free: 2.824 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.079/4.123, allocations: 35.42 MB / 1.349 GB, free: 7.027 MB / 1.029 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003551/4.123, allocations: 277.3 kB / 1.349 GB, free: 6.664 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.357/7.48, allocations: 0 / 1.349 GB, free: 6.664 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)