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: translateModel(FastBuildings.Input.SIM_2Zones_Artificial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial") translateModel(FastBuildings.Input.SIM_2Zones_Artificial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 104.8 kB / 16.41 MB, free: 6.5 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.001138/0.001138, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.02261/0.02261, allocations: 4.653 MB / 295.9 MB, free: 10.25 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 71.89 kB / 408.9 MB, free: 27.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08139/0.08261, allocations: 50.51 MB / 459.4 MB, free: 8.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_2Zones_Artificial): time 0.002646/0.08529, allocations: 1.689 MB / 461.1 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007859/0.08609, allocations: 478.7 kB / 461.6 MB, free: 6.402 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.453e-05/0.08617, allocations: 4 kB / 461.6 MB, free: 6.398 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001043/0.08629, allocations: 11.86 kB / 461.6 MB, free: 6.387 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.809e-05/0.08637, allocations: 31.73 kB / 461.6 MB, free: 6.355 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001909/0.08657, allocations: 39.94 kB / 461.7 MB, free: 6.316 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002107/0.08679, allocations: 127.5 kB / 461.8 MB, free: 6.191 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.08695, allocations: 49.06 kB / 461.8 MB, free: 6.145 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.08709, allocations: 55.78 kB / 461.9 MB, free: 6.09 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.946e-05/0.08719, allocations: 59.75 kB / 462 MB, free: 6.031 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.546e-05/0.08722, allocations: 8 kB / 462 MB, free: 6.023 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.949e-05/0.08725, allocations: 8 kB / 462 MB, free: 6.016 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.812e-05/0.0873, allocations: 31.84 kB / 462 MB, free: 5.984 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.307e-05/0.08737, allocations: 47.73 kB / 462 MB, free: 5.938 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.08753, allocations: 111.5 kB / 462.2 MB, free: 5.828 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.08754, allocations: 4 kB / 462.2 MB, free: 5.824 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.08755, allocations: 0 / 462.2 MB, free: 5.824 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.08756, allocations: 0 / 462.2 MB, free: 5.824 MB / 334.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.0007909/0.08835, allocations: 464.6 kB / 462.6 MB, free: 5.316 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.08839, allocations: 8.031 kB / 462.6 MB, free: 5.309 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.897e-05/0.08845, allocations: 20.75 kB / 462.6 MB, free: 5.289 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.0887, allocations: 199.1 kB / 462.8 MB, free: 5.059 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.08872, allocations: 8.375 kB / 462.8 MB, free: 5.051 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.637e-05/0.08875, allocations: 12.06 kB / 462.9 MB, free: 5.039 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003851/0.08914, allocations: 173.8 kB / 463 MB, free: 4.848 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.08916, allocations: 0 / 463 MB, free: 4.848 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.08918, allocations: 7.922 kB / 463 MB, free: 4.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.08919, allocations: 4 kB / 463 MB, free: 4.836 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004099/0.08961, allocations: 123.8 kB / 463.2 MB, free: 4.715 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008626/0.09048, allocations: 0.7199 MB / 463.9 MB, free: 3.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000531/0.09102, allocations: 262 kB / 464.1 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000242/0.09128, allocations: 92.33 kB / 464.2 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.09131, allocations: 15.92 kB / 464.2 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003365/0.09165, allocations: 159.5 kB / 464.4 MB, free: 3.305 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.372e-06/0.09166, allocations: 0 / 464.4 MB, free: 3.305 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007952/0.09246, allocations: 249.7 kB / 464.6 MB, free: 3.055 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.611e-05/0.09256, allocations: 162.2 kB / 464.8 MB, free: 2.859 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.0927, allocations: 170.2 kB / 465 MB, free: 2.684 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.09273, allocations: 29.7 kB / 465 MB, free: 2.648 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.706e-05/0.0928, allocations: 104 kB / 465.1 MB, free: 2.543 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.906e-05/0.09284, allocations: 31.56 kB / 465.1 MB, free: 2.512 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.722e-05/0.0929, allocations: 29.8 kB / 465.2 MB, free: 2.477 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.09302, allocations: 326.8 kB / 465.5 MB, free: 2.148 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000229/0.09325, allocations: 59.94 kB / 465.5 MB, free: 2.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002258/0.09349, allocations: 99.34 kB / 465.6 MB, free: 1.98 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004371/0.09394, allocations: 189.8 kB / 465.8 MB, free: 1.773 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.09395, allocations: 0 / 465.8 MB, free: 1.773 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005972/0.09455, allocations: 231 kB / 466 MB, free: 1.535 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.237e-05/0.09459, allocations: 29.7 kB / 466.1 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.09461, allocations: 4 kB / 466.1 MB, free: 1.496 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.09464, allocations: 3.938 kB / 466.1 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/0.09483, allocations: 35.97 kB / 466.1 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.09485, allocations: 8.031 kB / 466.1 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.09504, allocations: 23.91 kB / 466.1 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.09506, allocations: 4 kB / 466.1 MB, free: 1.422 MB / 334.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 9.961e-05/0.09517, allocations: 133.8 kB / 466.3 MB, free: 1.281 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.64e-05/0.0952, allocations: 11.81 kB / 466.3 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002106/0.09542, allocations: 97.77 kB / 466.4 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.09543, allocations: 8.031 kB / 466.4 MB, free: 1.148 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.09544, allocations: 0 / 466.4 MB, free: 1.148 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.09545, allocations: 4 kB / 466.4 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003712/0.09583, allocations: 433.6 kB / 466.8 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.09584, allocations: 3.938 kB / 466.8 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000149/0.096, allocations: 32.03 kB / 466.9 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.09601, allocations: 4 kB / 466.9 MB, free: 0.625 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.09603, allocations: 4.031 kB / 466.9 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.09604, allocations: 4 kB / 466.9 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.09604, allocations: 3.938 kB / 466.9 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006106/0.09666, allocations: 373 kB / 467.2 MB, free: 228 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.7e-05/0.09672, allocations: 88.95 kB / 467.3 MB, free: 120 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.473e-05/0.09675, allocations: 4 kB / 467.3 MB, free: 116 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/0.09697, allocations: 19.97 kB / 467.3 MB, free: 96 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.686e-05/0.09704, allocations: 15.98 kB / 467.4 MB, free: 80 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.09706, allocations: 11.98 kB / 467.4 MB, free: 68 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001062/0.09718, allocations: 120.1 kB / 467.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09718, allocations: 3.938 kB / 467.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003022/0.09749, allocations: 27.91 kB / 467.5 MB, free: 15.92 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 9.806e-05/0.09759, allocations: 104 kB / 467.6 MB, free: 15.81 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005379/0.09814, allocations: 215.1 kB / 467.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.09815, allocations: 0 / 467.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002651/0.09842, allocations: 84.08 kB / 467.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003892/0.09886, allocations: 19.94 kB / 467.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005814/0.09946, allocations: 305.3 kB / 468.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.0998, allocations: 0.7195 MB / 468.9 MB, free: 14.4 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.83e-05/0.09987, allocations: 11.44 kB / 469 MB, free: 14.39 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.09987, allocations: 0 / 469 MB, free: 14.39 MB / 350.1 MB Notification: Performance of Templates: time 0.003158/0.103, allocations: 1.639 MB / 470.6 MB, free: 12.75 MB / 350.1 MB make -j1 -f FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.makefile (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 & ./FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial -abortSlowSimulation -alarm=480 -lv LOG_STATS > FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe 2>&1)