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.0009702/0.0009702, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0009477/0.0009477, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.15/0.15, allocations: 4.614 MB / 295.6 MB, free: 4.09 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003079/0.000308, allocations: 4 kB / 357.7 MB, free: 2.453 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1107, allocations: 51.5 MB / 409.2 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_2Zones_Artificial): time 0.001755/0.1125, allocations: 1.367 MB / 410.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000674/0.1132, allocations: 439.3 kB / 411 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.931e-05/0.1133, allocations: 7.938 kB / 411 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.99e-05/0.1134, allocations: 11.92 kB / 411 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.031e-05/0.1134, allocations: 27.89 kB / 411 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001763/0.1136, allocations: 31.84 kB / 411 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.1138, allocations: 75.83 kB / 411.1 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.1139, allocations: 37.28 kB / 411.1 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.114, allocations: 43.83 kB / 411.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.539e-05/0.1141, allocations: 47.77 kB / 411.2 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.1141, allocations: 4 kB / 411.2 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.996e-05/0.1142, allocations: 4 kB / 411.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.298e-05/0.1142, allocations: 19.91 kB / 411.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.064e-05/0.1143, allocations: 45.64 kB / 411.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.665e-05/0.1144, allocations: 64.09 kB / 411.4 MB, free: 12.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1144, allocations: 4 kB / 411.4 MB, free: 12.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1144, allocations: 0 / 411.4 MB, free: 12.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1144, allocations: 0 / 411.4 MB, free: 12.67 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.0007642/0.1152, allocations: 460.5 kB / 411.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.1152, allocations: 12.03 kB / 411.8 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.021e-05/0.1153, allocations: 58.39 kB / 411.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.122e-05/0.1153, allocations: 15.81 kB / 411.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.1155, allocations: 202.2 kB / 412.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.1156, allocations: 8 kB / 412.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.1156, allocations: 12 kB / 412.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003935/0.116, allocations: 201.7 kB / 412.3 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.116, allocations: 0 / 412.3 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.116, allocations: 4 kB / 412.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.116, allocations: 7.938 kB / 412.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004115/0.1165, allocations: 163.8 kB / 412.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009004/0.1174, allocations: 0.7626 MB / 413.3 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004801/0.1179, allocations: 290 kB / 413.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.1179, allocations: 4.219 kB / 413.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003221/0.1182, allocations: 175.6 kB / 413.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.292e-06/0.1182, allocations: 0 / 413.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007259/0.119, allocations: 277.5 kB / 414 MB, free: 9.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.634e-05/0.119, allocations: 162.2 kB / 414.1 MB, free: 9.574 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.1192, allocations: 167.3 kB / 414.3 MB, free: 9.391 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.1192, allocations: 29.64 kB / 414.3 MB, free: 9.355 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.321e-05/0.1193, allocations: 124 kB / 414.5 MB, free: 9.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/0.1193, allocations: 27.56 kB / 414.5 MB, free: 9.203 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.709e-06/0.1194, allocations: 4 kB / 414.5 MB, free: 9.199 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.1195, allocations: 322.8 kB / 414.8 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/0.1197, allocations: 79.94 kB / 414.9 MB, free: 8.797 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002184/0.1199, allocations: 115.8 kB / 415 MB, free: 8.672 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002208/0.1201, allocations: 105.6 kB / 415.1 MB, free: 8.562 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1202, allocations: 0 / 415.1 MB, free: 8.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005254/0.1207, allocations: 259 kB / 415.3 MB, free: 8.297 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.544e-05/0.1207, allocations: 31.58 kB / 415.4 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.1207, allocations: 4 kB / 415.4 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.1208, allocations: 0 / 415.4 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000194/0.121, allocations: 39.97 kB / 415.4 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.121, allocations: 3.938 kB / 415.4 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.1212, allocations: 35.91 kB / 415.5 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.1212, allocations: 4 kB / 415.5 MB, free: 8.176 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 ($whenCondition1,$PRE.powElePul.T_start,powElePul.T_start,$PRE.powElePul.count,powElePul.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001287/0.1213, allocations: 129.8 kB / 415.6 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.843e-05/0.1214, allocations: 15.81 kB / 415.6 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002027/0.1216, allocations: 102.5 kB / 415.7 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.1216, allocations: 4.031 kB / 415.7 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.1216, allocations: 4 kB / 415.7 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.1216, allocations: 0 / 415.7 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003864/0.122, allocations: 449.6 kB / 416.2 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.122, allocations: 0 / 416.2 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.1222, allocations: 36 kB / 416.2 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.1222, allocations: 4 kB / 416.2 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.1222, allocations: 0 / 416.2 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.1222, allocations: 4 kB / 416.2 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1222, allocations: 0 / 416.2 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005529/0.1228, allocations: 444.3 kB / 416.6 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.039e-05/0.1228, allocations: 89 kB / 416.7 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.919e-05/0.1229, allocations: 7.953 kB / 416.7 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.1231, allocations: 23.98 kB / 416.8 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.366e-05/0.1231, allocations: 19.97 kB / 416.8 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.1232, allocations: 11.98 kB / 416.8 MB, free: 6.711 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.712e-05/0.1233, allocations: 124.8 kB / 416.9 MB, free: 6.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1233, allocations: 3.938 kB / 416.9 MB, free: 6.586 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002901/0.1236, allocations: 27.91 kB / 416.9 MB, free: 6.559 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001125/0.1247, allocations: 1.328 MB / 418.3 MB, free: 5.176 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005331/0.1252, allocations: 231.3 kB / 418.5 MB, free: 4.938 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1253, allocations: 0 / 418.5 MB, free: 4.938 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002579/0.1255, allocations: 99.86 kB / 418.6 MB, free: 4.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/0.1258, allocations: 20.91 kB / 418.6 MB, free: 4.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002057/0.1279, allocations: 1.638 MB / 420.2 MB, free: 3.109 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/0.1282, allocations: 0.7277 MB / 421 MB, free: 2.355 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.158e-05/0.1282, allocations: 16.55 kB / 421 MB, free: 2.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.723e-05/0.1283, allocations: 39.42 kB / 421 MB, free: 2.301 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1283, allocations: 0 / 421 MB, free: 2.301 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2031/0.3314, allocations: 2.58 MB / 423.6 MB, free: 44.94 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001781/0.3317, allocations: 171.9 kB / 423.8 MB, free: 44.7 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.682/2.014, allocations: 0 / 423.8 MB, free: 44.7 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Input_SIM_2Zones_Artificial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Input_SIM_2Zones_Artificial.fmu > FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe 2>&1) Environment - environmentSimulation: