Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Input.SIM_ArtificialInput.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_ArtificialInput,fileNamePrefix="FastBuildings_FastBuildings_Input_SIM_ArtificialInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Input.SIM_ArtificialInput,fileNamePrefix="FastBuildings_FastBuildings_Input_SIM_ArtificialInput",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.007638/0.007638, allocations: 95.31 kB / 15.73 MB, free: 6.051 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.001904/0.001904, allocations: 204.8 kB / 16.68 MB, free: 5.973 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1615/0.1615, allocations: 4.631 MB / 295.2 MB, free: 3.082 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 64.05 kB / 407.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2544, allocations: 50.5 MB / 458.2 MB, free: 19.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_ArtificialInput): time 0.002268/0.2567, allocations: 1.67 MB / 459.9 MB, free: 18.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006346/0.2574, allocations: 474.1 kB / 460.4 MB, free: 18.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.171e-05/0.2575, allocations: 0 / 460.4 MB, free: 18.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.581e-05/0.2576, allocations: 14.23 kB / 460.4 MB, free: 18.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.425e-05/0.2577, allocations: 31.25 kB / 460.4 MB, free: 18.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001865/0.2578, allocations: 35.3 kB / 460.5 MB, free: 18.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.258, allocations: 118.2 kB / 460.6 MB, free: 18.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.2582, allocations: 62.88 kB / 460.6 MB, free: 18.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.2583, allocations: 53.22 kB / 460.7 MB, free: 18.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.084e-05/0.2584, allocations: 52.12 kB / 460.7 MB, free: 18.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.671e-05/0.2584, allocations: 9.062 kB / 460.7 MB, free: 18.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.149e-05/0.2584, allocations: 8.969 kB / 460.7 MB, free: 18.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.49e-05/0.2585, allocations: 24.33 kB / 460.8 MB, free: 18.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.147e-05/0.2586, allocations: 56.77 kB / 460.8 MB, free: 18.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.2587, allocations: 99.47 kB / 460.9 MB, free: 18.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2587, allocations: 3.938 kB / 460.9 MB, free: 18.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2587, allocations: 0 / 460.9 MB, free: 18.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.2588, allocations: 0 / 460.9 MB, free: 18.04 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006985/0.2595, allocations: 463.4 kB / 461.4 MB, free: 17.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.2595, allocations: 9.953 kB / 461.4 MB, free: 17.61 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.717e-05/0.2596, allocations: 56.86 kB / 461.4 MB, free: 17.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.989e-05/0.2596, allocations: 22.94 kB / 461.5 MB, free: 17.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.2598, allocations: 204.6 kB / 461.7 MB, free: 17.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.2598, allocations: 11.19 kB / 461.7 MB, free: 17.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.2598, allocations: 10.16 kB / 461.7 MB, free: 17.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003772/0.2602, allocations: 181.7 kB / 461.9 MB, free: 17.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.2602, allocations: 0 / 461.9 MB, free: 17.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.2602, allocations: 4.516 kB / 461.9 MB, free: 17.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.2602, allocations: 3.125 kB / 461.9 MB, free: 17.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004028/0.2607, allocations: 129 kB / 462 MB, free: 17.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007313/0.2614, allocations: 0.7319 MB / 462.7 MB, free: 16.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003631/0.2618, allocations: 169.3 kB / 462.9 MB, free: 16.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002284/0.262, allocations: 90.67 kB / 463 MB, free: 16.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.262, allocations: 4.781 kB / 463 MB, free: 16.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003197/0.2624, allocations: 160.2 kB / 463.1 MB, free: 16.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.462e-06/0.2624, allocations: 0 / 463.1 MB, free: 16.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007337/0.2631, allocations: 232.6 kB / 463.4 MB, free: 16.13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.2632, allocations: 161.8 kB / 463.5 MB, free: 15.94 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.2633, allocations: 170.9 kB / 463.7 MB, free: 15.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.2633, allocations: 29.41 kB / 463.7 MB, free: 15.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.189e-05/0.2634, allocations: 117.5 kB / 463.8 MB, free: 15.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/0.2634, allocations: 32.06 kB / 463.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.326e-05/0.2635, allocations: 26.78 kB / 463.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.56e-05/0.2635, allocations: 330.7 kB / 464.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002064/0.2638, allocations: 55.86 kB / 464.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/0.264, allocations: 101.2 kB / 464.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003815/0.2644, allocations: 169.9 kB / 464.5 MB, free: 15.13 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2644, allocations: 3.25 kB / 464.5 MB, free: 15.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004913/0.2649, allocations: 220.4 kB / 464.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/0.2649, allocations: 35.52 kB / 464.8 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.2649, allocations: 3.938 kB / 464.8 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.2649, allocations: 2.875 kB / 464.8 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000176/0.2651, allocations: 39.11 kB / 464.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.473e-06/0.2651, allocations: 0.6094 kB / 464.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/0.2653, allocations: 30.02 kB / 464.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.2653, allocations: 10.98 kB / 464.9 MB, free: 14.96 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 (11): * Single equations (assignments): 10 * 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 8.27e-05/0.2654, allocations: 126 kB / 465 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/0.2654, allocations: 11.06 kB / 465 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001834/0.2656, allocations: 97.03 kB / 465.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.2656, allocations: 7.641 kB / 465.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.2657, allocations: 0 / 465.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.2657, allocations: 7.422 kB / 465.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002293/0.2659, allocations: 327.5 kB / 465.4 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2659, allocations: 3.094 kB / 465.4 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.266, allocations: 22.47 kB / 465.5 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.2661, allocations: 3 kB / 465.5 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.2661, allocations: 12.41 kB / 465.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.2661, allocations: 8.672 kB / 465.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2661, allocations: 2.969 kB / 465.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004529/0.2666, allocations: 283.1 kB / 465.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.239e-05/0.2666, allocations: 92.53 kB / 465.9 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.854e-05/0.2666, allocations: 8.672 kB / 465.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.2668, allocations: 18.03 kB / 465.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.156e-05/0.2669, allocations: 16.11 kB / 465.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.2669, allocations: 8.484 kB / 465.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.445e-05/0.267, allocations: 132.3 kB / 466 MB, free: 14.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.267, allocations: 0 / 466 MB, free: 14.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002682/0.2673, allocations: 24.91 kB / 466.1 MB, free: 14.02 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 (9): * Single equations (assignments): 7 * 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.0008684/0.2682, allocations: 0.9037 MB / 467 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005069/0.2687, allocations: 198.1 kB / 467.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2687, allocations: 3 kB / 467.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002602/0.269, allocations: 81.8 kB / 467.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/0.2693, allocations: 19.41 kB / 467.3 MB, free: 13.13 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002487/0.2718, allocations: 2.039 MB / 469.3 MB, free: 11.58 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001615/0.272, allocations: 0.7222 MB / 470 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.482e-05/0.2721, allocations: 21.78 kB / 470 MB, free: 10.87 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.909e-05/0.2721, allocations: 37.89 kB / 470.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2721, allocations: 0 / 470.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02484/0.297, allocations: 2.954 MB / 473 MB, free: 10.34 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.731/8.028, allocations: 13.28 kB / 473.1 MB, free: 10.33 MB / 350.1 MB (rm -f FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe ; mkfifo FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe >> ../files/FastBuildings_FastBuildings.Input.SIM_ArtificialInput.sim & python3 -m fmpy simulate --output-file FastBuildings_FastBuildings.Input.SIM_ArtificialInput_res.csv --start-time 0 --stop-time 604800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1209.6 FastBuildings_FastBuildings_Input_SIM_ArtificialInput.fmu > FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe 2>&1)