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.001031/0.001031, allocations: 108 kB / 15.6 MB, free: 132 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.001032/0.001032, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.341/1.341, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1339/0.1339, allocations: 4.633 MB / 295 MB, free: 3.109 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 63.91 kB / 356.7 MB, free: 2.391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08227/0.08358, allocations: 50.51 MB / 407.2 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_2Zones_Artificial): time 0.002804/0.08641, allocations: 1.692 MB / 408.9 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008319/0.08727, allocations: 478.8 kB / 409.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.145e-05/0.08737, allocations: 4 kB / 409.3 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.702e-05/0.08747, allocations: 15.8 kB / 409.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.404e-05/0.08757, allocations: 23.8 kB / 409.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002042/0.08778, allocations: 39.88 kB / 409.4 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001812/0.08797, allocations: 119.6 kB / 409.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.08813, allocations: 57 kB / 409.6 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.08827, allocations: 55.84 kB / 409.6 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.08838, allocations: 63.64 kB / 409.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.073e-05/0.08842, allocations: 8 kB / 409.7 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.365e-05/0.08845, allocations: 8 kB / 409.7 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.6e-05/0.0885, allocations: 27.89 kB / 409.7 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.129e-05/0.08857, allocations: 55.67 kB / 409.8 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.08872, allocations: 99.91 kB / 409.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.08873, allocations: 4 kB / 409.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.81e-07/0.08874, allocations: 0 / 409.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.08875, allocations: 0 / 409.9 MB, free: 13.09 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.0007875/0.08955, allocations: 468.6 kB / 410.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.08959, allocations: 8.031 kB / 410.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.289e-05/0.08967, allocations: 54.55 kB / 410.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.53e-05/0.08972, allocations: 16.75 kB / 410.4 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002004/0.08993, allocations: 213.7 kB / 410.6 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.08995, allocations: 4.375 kB / 410.6 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.08998, allocations: 15.94 kB / 410.7 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004158/0.0904, allocations: 193.8 kB / 410.8 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.09042, allocations: 3.938 kB / 410.8 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.09044, allocations: 4 kB / 410.8 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.09046, allocations: 4 kB / 410.9 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004461/0.09091, allocations: 139.7 kB / 411 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008844/0.0918, allocations: 0.7511 MB / 411.7 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004942/0.09231, allocations: 270.1 kB / 412 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002424/0.09256, allocations: 92.17 kB / 412.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.0926, allocations: 8 kB / 412.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003385/0.09294, allocations: 159.5 kB / 412.3 MB, free: 10.42 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.603e-06/0.09296, allocations: 0 / 412.3 MB, free: 10.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007724/0.09373, allocations: 245.2 kB / 412.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.13e-05/0.09383, allocations: 162.2 kB / 412.7 MB, free: 9.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.09398, allocations: 168.4 kB / 412.8 MB, free: 9.797 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.09401, allocations: 37.64 kB / 412.9 MB, free: 9.754 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.687e-05/0.09408, allocations: 119.9 kB / 413 MB, free: 9.633 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.271e-05/0.09412, allocations: 31.55 kB / 413 MB, free: 9.602 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.069e-05/0.09419, allocations: 33.7 kB / 413 MB, free: 9.562 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.09429, allocations: 318.8 kB / 413.3 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/0.09453, allocations: 63.94 kB / 413.4 MB, free: 9.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002375/0.09477, allocations: 99.98 kB / 413.5 MB, free: 9.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004234/0.09521, allocations: 181.8 kB / 413.7 MB, free: 8.871 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.09522, allocations: 3.938 kB / 413.7 MB, free: 8.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005537/0.09578, allocations: 235 kB / 413.9 MB, free: 8.625 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.114e-05/0.09582, allocations: 37.69 kB / 414 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.09583, allocations: 4 kB / 414 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.09585, allocations: 0 / 414 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001844/0.09604, allocations: 32.03 kB / 414 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.09606, allocations: 7.984 kB / 414 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/0.09624, allocations: 19.98 kB / 414 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/0.09626, allocations: 7.984 kB / 414 MB, free: 8.512 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.0001111/0.09638, allocations: 137.7 kB / 414.2 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/0.09642, allocations: 15.81 kB / 414.2 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001895/0.09661, allocations: 90.53 kB / 414.3 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.09663, allocations: 4 kB / 414.3 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.423e-06/0.09664, allocations: 3.984 kB / 414.3 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.09665, allocations: 0 / 414.3 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003684/0.09702, allocations: 450 kB / 414.7 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.09703, allocations: 0 / 414.7 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001528/0.09719, allocations: 31.97 kB / 414.7 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.09721, allocations: 4 kB / 414.7 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.09722, allocations: 0 / 414.7 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.09723, allocations: 4 kB / 414.8 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.09724, allocations: 48 / 414.8 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005412/0.09778, allocations: 377 kB / 415.1 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.836e-05/0.09784, allocations: 89.02 kB / 415.2 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.946e-05/0.09788, allocations: 7.984 kB / 415.2 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002134/0.0981, allocations: 15.98 kB / 415.2 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.873e-05/0.09818, allocations: 27.91 kB / 415.3 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.0982, allocations: 4 kB / 415.3 MB, free: 7.152 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.579e-05/0.09829, allocations: 123.9 kB / 415.4 MB, free: 7.031 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.09829, allocations: 0 / 415.4 MB, free: 7.031 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003134/0.09861, allocations: 31.91 kB / 415.4 MB, free: 7 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.001049/0.09967, allocations: 0.9841 MB / 416.4 MB, free: 5.977 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000528/0.1002, allocations: 207.1 kB / 416.6 MB, free: 5.762 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1002, allocations: 4.188 kB / 416.6 MB, free: 5.758 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002618/0.1005, allocations: 83.88 kB / 416.7 MB, free: 5.676 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003836/0.1009, allocations: 19.92 kB / 416.7 MB, free: 5.656 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00281/0.1037, allocations: 2.165 MB / 418.9 MB, free: 3.367 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/0.104, allocations: 0.7197 MB / 419.6 MB, free: 2.621 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.526e-05/0.1041, allocations: 12.55 kB / 419.6 MB, free: 2.609 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.966e-05/0.1041, allocations: 43.42 kB / 419.6 MB, free: 2.566 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1042, allocations: 4 kB / 419.6 MB, free: 2.562 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.232/1.336, allocations: 2.994 MB / 422.6 MB, free: 48.16 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/12.65, allocations: 8.312 kB / 422.7 MB, free: 48.16 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/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)