Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.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/FastBuildings master/package.mo", uses=false) Using package FastBuildings with version 0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings 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(FastBuildings.Input.SIM_2Zones_Artificial,fileNamePrefix="FastBuildings_FastBuildings_Input_SIM_2Zones_Artificial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Input.SIM_2Zones_Artificial,fileNamePrefix="FastBuildings_FastBuildings_Input_SIM_2Zones_Artificial",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.00583/0.00583, allocations: 97.39 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.001343/0.001343, allocations: 188 kB / 16.67 MB, free: 5.918 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1289/0.1289, allocations: 4.64 MB / 295.2 MB, free: 3.031 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 63.91 kB / 407.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2502, allocations: 50.5 MB / 458.2 MB, free: 19.87 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_2Zones_Artificial): time 0.00219/0.2524, allocations: 1.696 MB / 459.9 MB, free: 18.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006153/0.2531, allocations: 474.1 kB / 460.4 MB, free: 18.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.431e-05/0.2531, allocations: 0 / 460.4 MB, free: 18.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001051/0.2533, allocations: 22.38 kB / 460.4 MB, free: 18.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.369e-05/0.2533, allocations: 21.66 kB / 460.5 MB, free: 18.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001926/0.2535, allocations: 45.81 kB / 460.5 MB, free: 18.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001646/0.2537, allocations: 126 kB / 460.6 MB, free: 18.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.2539, allocations: 49.16 kB / 460.7 MB, free: 18.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.254, allocations: 53.73 kB / 460.7 MB, free: 18.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.27e-05/0.2541, allocations: 66.97 kB / 460.8 MB, free: 18.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.821e-05/0.2541, allocations: 9.125 kB / 460.8 MB, free: 18.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.098e-05/0.2542, allocations: 9.062 kB / 460.8 MB, free: 18.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.656e-05/0.2542, allocations: 24.28 kB / 460.8 MB, free: 18.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.309e-05/0.2543, allocations: 45.5 kB / 460.9 MB, free: 18.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.2544, allocations: 108.7 kB / 461 MB, free: 18.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2545, allocations: 0 / 461 MB, free: 18.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2545, allocations: 0 / 461 MB, free: 18.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.2545, allocations: 0 / 461 MB, free: 18.08 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006698/0.2551, allocations: 477.5 kB / 461.4 MB, free: 17.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.2552, allocations: 8.969 kB / 461.5 MB, free: 17.63 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.158e-05/0.2553, allocations: 57.78 kB / 461.5 MB, free: 17.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.82e-05/0.2553, allocations: 17.81 kB / 461.5 MB, free: 17.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.2555, allocations: 209.2 kB / 461.7 MB, free: 17.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.2555, allocations: 11.17 kB / 461.7 MB, free: 17.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.2555, allocations: 17.06 kB / 461.8 MB, free: 17.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003687/0.2559, allocations: 194.1 kB / 461.9 MB, free: 17.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.2559, allocations: 0 / 461.9 MB, free: 17.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.2559, allocations: 7.938 kB / 462 MB, free: 17.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.2559, allocations: 3.031 kB / 462 MB, free: 17.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003915/0.2563, allocations: 141 kB / 462.1 MB, free: 17.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007113/0.257, allocations: 0.7408 MB / 462.8 MB, free: 16.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004189/0.2575, allocations: 271.9 kB / 463.1 MB, free: 16.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002135/0.2577, allocations: 92.47 kB / 463.2 MB, free: 16.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.2577, allocations: 6.953 kB / 463.2 MB, free: 16.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003157/0.258, allocations: 162.6 kB / 463.4 MB, free: 16.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.273e-06/0.2581, allocations: 0 / 463.4 MB, free: 16.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006963/0.2588, allocations: 244.4 kB / 463.6 MB, free: 16.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/0.2588, allocations: 161.9 kB / 463.8 MB, free: 15.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.2589, allocations: 172.3 kB / 463.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.259, allocations: 29.02 kB / 464 MB, free: 15.67 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.985e-05/0.259, allocations: 124.2 kB / 464.1 MB, free: 15.56 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.568e-05/0.259, allocations: 37.78 kB / 464.1 MB, free: 15.53 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.097e-05/0.2591, allocations: 29.92 kB / 464.1 MB, free: 15.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.035e-05/0.2592, allocations: 329.8 kB / 464.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000204/0.2594, allocations: 57.88 kB / 464.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/0.2596, allocations: 101.9 kB / 464.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00037/0.26, allocations: 175.3 kB / 464.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.26, allocations: 3.938 kB / 464.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004837/0.2605, allocations: 233.6 kB / 465 MB, free: 14.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/0.2605, allocations: 33.75 kB / 465.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.2605, allocations: 4 kB / 465.1 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.2605, allocations: 3.75 kB / 465.1 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/0.2607, allocations: 28.39 kB / 465.1 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.2607, allocations: 7.062 kB / 465.1 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/0.2609, allocations: 22.27 kB / 465.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.2609, allocations: 7.625 kB / 465.1 MB, free: 14.86 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 (powElePul.count,$PRE.powElePul.count,powElePul.T_start,$PRE.powElePul.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.781e-05/0.261, allocations: 132.2 kB / 465.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.261, allocations: 22.14 kB / 465.3 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001746/0.2612, allocations: 89.25 kB / 465.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.2612, allocations: 7 kB / 465.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.2612, allocations: 3 kB / 465.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.2612, allocations: 0.7031 kB / 465.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002883/0.2615, allocations: 447.5 kB / 465.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2615, allocations: 4 kB / 465.8 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.2617, allocations: 26.27 kB / 465.8 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.2617, allocations: 3.125 kB / 465.8 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.2617, allocations: 4.031 kB / 465.8 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.2617, allocations: 0.9375 kB / 465.8 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2617, allocations: 7.125 kB / 465.9 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004863/0.2622, allocations: 364.1 kB / 466.2 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.186e-05/0.2622, allocations: 98.38 kB / 466.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.865e-05/0.2623, allocations: 7.234 kB / 466.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002025/0.2625, allocations: 21.52 kB / 466.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.069e-05/0.2626, allocations: 29.45 kB / 466.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.2626, allocations: 9.141 kB / 466.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.635e-05/0.2627, allocations: 127.8 kB / 466.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2627, allocations: 0 / 466.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002937/0.263, allocations: 22.55 kB / 466.5 MB, free: 13.75 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,powElePul.T_start,powElePul.count) * Number of discrete states: 1 (powElePul.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008627/0.2638, allocations: 0.9818 MB / 467.5 MB, free: 12.92 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005013/0.2644, allocations: 209.9 kB / 467.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2644, allocations: 0 / 467.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002589/0.2646, allocations: 91.48 kB / 467.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.265, allocations: 29.56 kB / 467.8 MB, free: 12.78 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002505/0.2675, allocations: 2.156 MB / 470 MB, free: 11.14 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001573/0.2677, allocations: 0.7256 MB / 470.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.235e-05/0.2678, allocations: 14.44 kB / 470.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.059e-05/0.2679, allocations: 46.36 kB / 470.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2679, allocations: 0 / 470.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02474/0.2926, allocations: 3.058 MB / 473.8 MB, free: 9.906 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.617/7.91, allocations: 9.312 kB / 473.8 MB, free: 9.898 MB / 350.1 MB (rm -f FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe ; mkfifo FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe >> ../files/FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.sim & python3 -m fmpy simulate --output-file FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 FastBuildings_FastBuildings_Input_SIM_2Zones_Artificial.fmu > FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe 2>&1)