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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.004975/0.004975, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001364/0.001364, allocations: 199.1 kB / 16.68 MB, free: 5.977 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.606/2.606, allocations: 482.6 MB / 0.755 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 59.91 kB / 1.083 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.261, allocations: 162.3 MB / 1.242 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.6543/0.9153, allocations: 176.2 MB / 1.414 GB, free: 0.9805 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.02015/0.9355, allocations: 15.67 MB / 1.429 GB, free: 4.305 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001329/0.9368, allocations: 31.16 kB / 1.429 GB, free: 4.293 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001588/0.9385, allocations: 0.6081 MB / 1.43 GB, free: 3.781 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003945/0.9424, allocations: 1.565 MB / 1.431 GB, free: 2.578 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003895/0.9463, allocations: 1.676 MB / 1.433 GB, free: 1.32 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.003318/0.9496, allocations: 2.9 MB / 1.436 GB, free: 15.59 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002202/0.9519, allocations: 1.851 MB / 1.438 GB, free: 14.38 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003989/0.9559, allocations: 1.591 MB / 1.439 GB, free: 13.06 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001286/0.9572, allocations: 1.035 MB / 1.44 GB, free: 12.02 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002941/0.9575, allocations: 196 kB / 1.44 GB, free: 11.83 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002598/0.9601, allocations: 1.338 MB / 1.442 GB, free: 10.49 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0005361/0.9606, allocations: 0.5686 MB / 1.442 GB, free: 9.918 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001028/0.9617, allocations: 1.03 MB / 1.443 GB, free: 8.883 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.00378/0.9654, allocations: 3.037 MB / 1.446 GB, free: 5.836 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.9655, allocations: 4 kB / 1.446 GB, free: 5.832 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.342e-06/0.9655, allocations: 0 / 1.446 GB, free: 5.832 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.201e-05/0.9655, allocations: 0 / 1.446 GB, free: 5.832 MB / 1.139 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.003868/0.9694, allocations: 2.361 MB / 1.449 GB, free: 3.402 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.9694, allocations: 8.031 kB / 1.449 GB, free: 3.395 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002775/0.9697, allocations: 240.3 kB / 1.449 GB, free: 3.148 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002864/0.9726, allocations: 474.3 kB / 1.449 GB, free: 2.684 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001693/0.9743, allocations: 1.149 MB / 1.45 GB, free: 1.488 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/0.9744, allocations: 123.2 kB / 1.45 GB, free: 1.367 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002124/0.9746, allocations: 156 kB / 1.451 GB, free: 1.215 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00296/0.9776, allocations: 1.788 MB / 1.452 GB, free: 15.35 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.291e-05/0.9776, allocations: 0 / 1.452 GB, free: 15.35 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001514/0.9778, allocations: 71.98 kB / 1.452 GB, free: 15.28 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.83e-05/0.9778, allocations: 47.94 kB / 1.452 GB, free: 15.23 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003116/0.9809, allocations: 1.772 MB / 1.454 GB, free: 13.45 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008175/0.9891, allocations: 6.305 MB / 1.46 GB, free: 6.746 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002728/0.9919, allocations: 1.563 MB / 1.462 GB, free: 5.125 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001044/0.9929, allocations: 0.5593 MB / 1.462 GB, free: 4.562 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009446/0.9939, allocations: 0.8867 MB / 1.463 GB, free: 3.492 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001427/0.9953, allocations: 0.8011 MB / 1.464 GB, free: 2.672 MB / 1.154 GB Notification: Performance of pre-optimization done (n=126): time 2.565e-06/0.9953, allocations: 0 / 1.464 GB, free: 2.672 MB / 1.154 GB Notification: Performance of matching and sorting (n=126): time 0.004701/1, allocations: 1.895 MB / 1.466 GB, free: 0.75 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/1, allocations: 196.9 kB / 1.466 GB, free: 0.5156 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001269/1.001, allocations: 0.9914 MB / 1.467 GB, free: 15.51 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.929e-05/1.002, allocations: 57.69 kB / 1.467 GB, free: 15.45 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005613/1.002, allocations: 0.6698 MB / 1.468 GB, free: 14.77 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003655/1.003, allocations: 440.2 kB / 1.468 GB, free: 14.33 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003642/1.003, allocations: 214.8 kB / 1.468 GB, free: 14.12 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001626/1.003, allocations: 345.9 kB / 1.469 GB, free: 13.77 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008969/1.004, allocations: 430.4 kB / 1.469 GB, free: 13.35 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/1.005, allocations: 0.5936 MB / 1.47 GB, free: 12.71 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001986/1.007, allocations: 1.015 MB / 1.471 GB, free: 11.68 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/1.007, allocations: 0 / 1.471 GB, free: 11.68 MB / 1.17 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.00288/1.01, allocations: 1.31 MB / 1.472 GB, free: 10.36 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/1.01, allocations: 8 kB / 1.472 GB, free: 10.35 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/1.01, allocations: 0 / 1.472 GB, free: 10.35 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005652/1.011, allocations: 92.83 kB / 1.472 GB, free: 10.25 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/1.012, allocations: 275.6 kB / 1.472 GB, free: 9.984 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002176/1.014, allocations: 1.654 MB / 1.474 GB, free: 8.184 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009884/1.015, allocations: 145.9 kB / 1.474 GB, free: 8.043 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.263e-05/1.015, allocations: 48.03 kB / 1.474 GB, free: 7.996 MB / 1.17 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.0005864/1.016, allocations: 373.6 kB / 1.475 GB, free: 7.621 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002525/1.016, allocations: 143.1 kB / 1.475 GB, free: 7.48 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003483/1.019, allocations: 1.606 MB / 1.476 GB, free: 5.859 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/1.019, allocations: 16 kB / 1.476 GB, free: 5.844 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/1.019, allocations: 0 / 1.476 GB, free: 5.844 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/1.019, allocations: 7.969 kB / 1.476 GB, free: 5.836 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005172/1.025, allocations: 3.175 MB / 1.479 GB, free: 2.598 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/1.025, allocations: 0 / 1.479 GB, free: 2.598 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001167/1.026, allocations: 271.6 kB / 1.48 GB, free: 2.332 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004242/1.026, allocations: 80.72 kB / 1.48 GB, free: 2.25 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.752e-05/1.026, allocations: 35.97 kB / 1.48 GB, free: 2.215 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001936/1.028, allocations: 1.67 MB / 1.481 GB, free: 412 kB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/1.028, allocations: 0 / 1.481 GB, free: 412 kB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004161/1.032, allocations: 2.191 MB / 1.484 GB, free: 14.19 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005739/1.033, allocations: 399.7 kB / 1.484 GB, free: 13.78 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002018/1.033, allocations: 31.94 kB / 1.484 GB, free: 13.75 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/1.034, allocations: 88.11 kB / 1.484 GB, free: 13.66 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001812/1.034, allocations: 97.17 kB / 1.484 GB, free: 13.57 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001307/1.035, allocations: 59.95 kB / 1.484 GB, free: 13.51 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0009024/1.036, allocations: 0.688 MB / 1.485 GB, free: 12.81 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.3e-07/1.036, allocations: 0 / 1.485 GB, free: 12.81 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001182/1.037, allocations: 0.5494 MB / 1.485 GB, free: 12.26 MB / 1.186 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.006374/1.043, allocations: 3.352 MB / 1.489 GB, free: 9.078 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.00249/1.046, allocations: 1.252 MB / 1.49 GB, free: 7.812 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/1.046, allocations: 448 / 1.49 GB, free: 7.812 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001379/1.047, allocations: 0.7636 MB / 1.491 GB, free: 7.035 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002276/1.049, allocations: 0.5667 MB / 1.491 GB, free: 6.488 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01609/1.065, allocations: 10.08 MB / 1.501 GB, free: 12.23 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009797/1.066, allocations: 1.307 MB / 1.502 GB, free: 10.89 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001366/1.068, allocations: 442.8 kB / 1.503 GB, free: 10.45 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009406/1.069, allocations: 0.671 MB / 1.503 GB, free: 9.781 MB / 1.201 GB Notification: Performance of SimCode: time 3.41e-07/1.069, allocations: 0 / 1.503 GB, free: 9.781 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.793/1.862, allocations: 37.39 MB / 1.54 GB, free: 4.824 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.21/24.07, allocations: 7.875 kB / 1.54 GB, free: 4.816 MB / 1.232 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=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_Cp.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1)