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.001291/0.001291, allocations: 108 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 191.9 kB / 16.53 MB, free: 6.668 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.423/1.423, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.151/0.151, allocations: 4.638 MB / 295 MB, free: 3.07 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 55.91 kB / 356.7 MB, free: 2.414 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1063, allocations: 50.5 MB / 407.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_2Zones_Artificial): time 0.003179/0.1095, allocations: 1.685 MB / 408.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008859/0.1104, allocations: 490.7 kB / 409.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.554e-05/0.1105, allocations: 3.938 kB / 409.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001112/0.1106, allocations: 11.86 kB / 409.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.085e-05/0.1107, allocations: 31.72 kB / 409.4 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002395/0.111, allocations: 31.95 kB / 409.4 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002049/0.1112, allocations: 127.6 kB / 409.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001726/0.1114, allocations: 49.08 kB / 409.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001759/0.1116, allocations: 55.78 kB / 409.6 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.1117, allocations: 63.69 kB / 409.7 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.745e-05/0.1118, allocations: 12 kB / 409.7 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.694e-05/0.1119, allocations: 8 kB / 409.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.945e-05/0.1119, allocations: 19.92 kB / 409.7 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.986e-05/0.112, allocations: 51.72 kB / 409.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.1122, allocations: 107.8 kB / 409.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1122, allocations: 7.938 kB / 409.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1122, allocations: 0 / 409.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.1122, allocations: 0 / 409.9 MB, free: 13.11 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.0009069/0.1131, allocations: 468.6 kB / 410.3 MB, free: 12.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.1132, allocations: 8.031 kB / 410.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.559e-05/0.1132, allocations: 62.53 kB / 410.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.408e-05/0.1133, allocations: 16.75 kB / 410.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.1135, allocations: 201.7 kB / 410.6 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.1135, allocations: 12.31 kB / 410.6 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.1136, allocations: 15.94 kB / 410.7 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005105/0.1141, allocations: 185.8 kB / 410.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.1141, allocations: 0 / 410.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.617e-05/0.1141, allocations: 8 kB / 410.8 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.1142, allocations: 8 kB / 410.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005561/0.1147, allocations: 131.8 kB / 411 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009066/0.1156, allocations: 0.7547 MB / 411.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005683/0.1162, allocations: 270.1 kB / 412 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002479/0.1165, allocations: 96.3 kB / 412.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.1165, allocations: 8.078 kB / 412.1 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004035/0.1169, allocations: 163.5 kB / 412.3 MB, free: 10.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.523e-06/0.1169, allocations: 0 / 412.3 MB, free: 10.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008115/0.1178, allocations: 245.4 kB / 412.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.1179, allocations: 158.2 kB / 412.7 MB, free: 10 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.1181, allocations: 172 kB / 412.8 MB, free: 9.816 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.1181, allocations: 29.7 kB / 412.9 MB, free: 9.781 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.953e-05/0.1182, allocations: 116.1 kB / 413 MB, free: 9.664 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.1182, allocations: 39.55 kB / 413 MB, free: 9.625 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.752e-05/0.1183, allocations: 33.64 kB / 413 MB, free: 9.586 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1184, allocations: 322.8 kB / 413.4 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002226/0.1187, allocations: 63.94 kB / 413.4 MB, free: 9.199 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002297/0.1189, allocations: 99.92 kB / 413.5 MB, free: 9.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004181/0.1193, allocations: 182.2 kB / 413.7 MB, free: 8.891 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.1193, allocations: 3.938 kB / 413.7 MB, free: 8.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005551/0.1199, allocations: 227 kB / 413.9 MB, free: 8.652 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.817e-05/0.12, allocations: 37.69 kB / 414 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.12, allocations: 0 / 414 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.12, allocations: 8.031 kB / 414 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001995/0.1202, allocations: 35.97 kB / 414 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.1202, allocations: 0 / 414 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001727/0.1204, allocations: 15.98 kB / 414 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.496e-05/0.1205, allocations: 7.984 kB / 414 MB, free: 8.543 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 0.0001323/0.1206, allocations: 137.7 kB / 414.2 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.125e-05/0.1206, allocations: 19.86 kB / 414.2 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002117/0.1209, allocations: 90.59 kB / 414.3 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.81e-06/0.1209, allocations: 7.938 kB / 414.3 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.1209, allocations: 3.984 kB / 414.3 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.1209, allocations: 4 kB / 414.3 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003895/0.1213, allocations: 441.6 kB / 414.7 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.1213, allocations: 4 kB / 414.7 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/0.1215, allocations: 35.97 kB / 414.7 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.1215, allocations: 0 / 414.7 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.1215, allocations: 4 kB / 414.8 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.1215, allocations: 0 / 414.8 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.1215, allocations: 3.984 kB / 414.8 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005644/0.1221, allocations: 377 kB / 415.1 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.639e-05/0.1222, allocations: 85.02 kB / 415.2 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.963e-05/0.1222, allocations: 7.984 kB / 415.2 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/0.1225, allocations: 19.98 kB / 415.2 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.662e-05/0.1225, allocations: 23.91 kB / 415.3 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.1226, allocations: 4 kB / 415.3 MB, free: 7.176 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.874e-05/0.1227, allocations: 124 kB / 415.4 MB, free: 7.055 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1227, allocations: 3.938 kB / 415.4 MB, free: 7.051 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003199/0.123, allocations: 27.91 kB / 415.4 MB, free: 7.023 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.001147/0.1242, allocations: 0.98 MB / 416.4 MB, free: 6.004 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005738/0.1247, allocations: 207.1 kB / 416.6 MB, free: 5.789 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.1248, allocations: 4 kB / 416.6 MB, free: 5.785 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002665/0.125, allocations: 88.12 kB / 416.7 MB, free: 5.699 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003953/0.1255, allocations: 23.86 kB / 416.7 MB, free: 5.676 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003014/0.1285, allocations: 2.17 MB / 418.9 MB, free: 3.383 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.1288, allocations: 0.7158 MB / 419.6 MB, free: 2.641 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.411e-05/0.1289, allocations: 16.55 kB / 419.6 MB, free: 2.625 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.163e-05/0.129, allocations: 39.42 kB / 419.6 MB, free: 2.586 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.129, allocations: 0 / 419.6 MB, free: 2.586 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2019/0.3309, allocations: 2.996 MB / 422.6 MB, free: 48.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.181/7.512, allocations: 10.38 kB / 422.7 MB, free: 48.17 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)