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.008446/0.008446, allocations: 96.8 kB / 15.73 MB, free: 6.039 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.001951/0.001951, allocations: 200.5 kB / 16.68 MB, free: 5.965 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.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 5.094/5.094, allocations: 4.632 MB / 295.2 MB, free: 3.059 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 63.91 kB / 407.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2917, allocations: 50.5 MB / 458.3 MB, free: 19.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_2Zones_Artificial): time 0.002121/0.2939, allocations: 1.695 MB / 459.9 MB, free: 18.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005413/0.2945, allocations: 474.7 kB / 460.4 MB, free: 18.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.86e-05/0.2945, allocations: 3 kB / 460.4 MB, free: 18.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.495e-05/0.2946, allocations: 19.05 kB / 460.4 MB, free: 18.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.405e-05/0.2946, allocations: 25.28 kB / 460.5 MB, free: 18.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001294/0.2948, allocations: 43.19 kB / 460.5 MB, free: 18.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.2949, allocations: 126.4 kB / 460.6 MB, free: 18.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.662e-05/0.295, allocations: 48.94 kB / 460.7 MB, free: 18.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.145e-05/0.2951, allocations: 58.61 kB / 460.7 MB, free: 18.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.929e-05/0.2952, allocations: 56.19 kB / 460.8 MB, free: 18.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.2952, allocations: 9.125 kB / 460.8 MB, free: 18.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.434e-05/0.2952, allocations: 9.062 kB / 460.8 MB, free: 18.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.037e-05/0.2952, allocations: 25.36 kB / 460.8 MB, free: 18.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.42e-05/0.2953, allocations: 50.28 kB / 460.9 MB, free: 18.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001268/0.2954, allocations: 118.4 kB / 461 MB, free: 18.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.2954, allocations: 0 / 461 MB, free: 18.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.2954, allocations: 0 / 461 MB, free: 18.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.146e-06/0.2955, allocations: 4 kB / 461 MB, free: 18.01 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.0005463/0.296, allocations: 470.5 kB / 461.5 MB, free: 17.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.292e-05/0.296, allocations: 10.34 kB / 461.5 MB, free: 17.57 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.839e-05/0.2961, allocations: 50.28 kB / 461.5 MB, free: 17.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.114e-05/0.2961, allocations: 19.09 kB / 461.5 MB, free: 17.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.2962, allocations: 207.9 kB / 461.7 MB, free: 17.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-06/0.2963, allocations: 8.156 kB / 461.7 MB, free: 17.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.2963, allocations: 16.88 kB / 461.8 MB, free: 17.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003539/0.2966, allocations: 188 kB / 461.9 MB, free: 17.17 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.2967, allocations: 3.938 kB / 461.9 MB, free: 17.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.2967, allocations: 11.66 kB / 462 MB, free: 17.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-06/0.2967, allocations: 2.875 kB / 462 MB, free: 17.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003832/0.2971, allocations: 138.8 kB / 462.1 MB, free: 17.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006409/0.2977, allocations: 0.7474 MB / 462.8 MB, free: 16.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004031/0.2981, allocations: 262 kB / 463.1 MB, free: 16.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002117/0.2984, allocations: 93.42 kB / 463.2 MB, free: 16.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.2984, allocations: 12.67 kB / 463.2 MB, free: 16.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002955/0.2987, allocations: 163.2 kB / 463.4 MB, free: 16.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.332e-06/0.2987, allocations: 4 kB / 463.4 MB, free: 16.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006787/0.2994, allocations: 237.6 kB / 463.6 MB, free: 15.97 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.2994, allocations: 158.5 kB / 463.8 MB, free: 15.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.2996, allocations: 176.2 kB / 463.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.2996, allocations: 29.7 kB / 464 MB, free: 15.61 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.569e-05/0.2996, allocations: 118.5 kB / 464.1 MB, free: 15.51 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.2997, allocations: 37.67 kB / 464.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.033e-05/0.2997, allocations: 26.31 kB / 464.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.871e-05/0.2998, allocations: 325.9 kB / 464.4 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002094/0.3, allocations: 64.69 kB / 464.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002034/0.3002, allocations: 99.23 kB / 464.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003996/0.3006, allocations: 186.6 kB / 464.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3006, allocations: 3.938 kB / 464.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.00048/0.3011, allocations: 227 kB / 465 MB, free: 14.85 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.3011, allocations: 37.11 kB / 465.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3012, allocations: 3.344 kB / 465.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.3012, allocations: 0 / 465.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.3013, allocations: 29.97 kB / 465.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.3013, allocations: 3.578 kB / 465.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.3015, allocations: 23.8 kB / 465.1 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.3015, allocations: 14.12 kB / 465.1 MB, free: 14.8 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.863e-05/0.3016, allocations: 138.4 kB / 465.3 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/0.3016, allocations: 18.38 kB / 465.3 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001728/0.3018, allocations: 88.77 kB / 465.4 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.3018, allocations: 0 / 465.4 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3018, allocations: 3.688 kB / 465.4 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3019, allocations: 0 / 465.4 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002967/0.3022, allocations: 453 kB / 465.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.3022, allocations: 2 kB / 465.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/0.3023, allocations: 31.75 kB / 465.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.3023, allocations: 1.344 kB / 465.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.3023, allocations: 7.688 kB / 465.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.3024, allocations: 1.406 kB / 465.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.3024, allocations: 1.938 kB / 465.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004688/0.3028, allocations: 366.9 kB / 466.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.192e-05/0.3029, allocations: 103.4 kB / 466.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/0.3029, allocations: 2.531 kB / 466.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002023/0.3031, allocations: 20.42 kB / 466.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.957e-05/0.3032, allocations: 21.98 kB / 466.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.3032, allocations: 8.219 kB / 466.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.077e-05/0.3033, allocations: 124.7 kB / 466.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3033, allocations: 0 / 466.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002929/0.3036, allocations: 24.62 kB / 466.5 MB, free: 13.69 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.0008645/0.3045, allocations: 0.9835 MB / 467.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004928/0.305, allocations: 214.1 kB / 467.7 MB, free: 12.76 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.305, allocations: 3.938 kB / 467.7 MB, free: 12.76 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002558/0.3052, allocations: 87.17 kB / 467.8 MB, free: 12.74 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.3056, allocations: 24.92 kB / 467.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002541/0.3082, allocations: 2.165 MB / 470 MB, free: 11.08 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001742/0.3083, allocations: 0.7169 MB / 470.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.337e-05/0.3084, allocations: 18.5 kB / 470.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.471e-05/0.3085, allocations: 42.89 kB / 470.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3085, allocations: 3.938 kB / 470.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5236/0.8322, allocations: 3.051 MB / 473.8 MB, free: 9.852 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.05/8.883, allocations: 14.36 kB / 473.8 MB, free: 9.844 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)