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.00682/0.00682, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001706/0.001707, allocations: 193.7 kB / 16.67 MB, free: 5.977 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.521/1.521, allocations: 222.9 MB / 240.4 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1781/0.1781, allocations: 4.627 MB / 295.2 MB, free: 3.074 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 55.91 kB / 408.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3153, allocations: 50.5 MB / 458.7 MB, free: 20.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_2Zones_Artificial): time 0.002653/0.318, allocations: 1.706 MB / 460.4 MB, free: 18.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007979/0.3188, allocations: 480.3 kB / 460.9 MB, free: 18.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.472e-05/0.3189, allocations: 3.188 kB / 460.9 MB, free: 18.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001329/0.3191, allocations: 11.34 kB / 460.9 MB, free: 18.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.67e-05/0.3192, allocations: 25 kB / 460.9 MB, free: 18.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002359/0.3194, allocations: 47.22 kB / 461 MB, free: 18.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002209/0.3197, allocations: 120.8 kB / 461.1 MB, free: 18.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001932/0.3199, allocations: 55.89 kB / 461.2 MB, free: 18.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001763/0.32, allocations: 58.47 kB / 461.2 MB, free: 18.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.3202, allocations: 52.55 kB / 461.3 MB, free: 18.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.301e-05/0.3202, allocations: 17.09 kB / 461.3 MB, free: 18.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.49e-05/0.3203, allocations: 9.25 kB / 461.3 MB, free: 18.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.431e-05/0.3203, allocations: 24.17 kB / 461.3 MB, free: 18.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.769e-05/0.3204, allocations: 49.53 kB / 461.4 MB, free: 18.33 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001916/0.3206, allocations: 110.9 kB / 461.5 MB, free: 18.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3206, allocations: 0 / 461.5 MB, free: 18.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3206, allocations: 0 / 461.5 MB, free: 18.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.3206, allocations: 4 kB / 461.5 MB, free: 18.28 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.0008217/0.3215, allocations: 468.4 kB / 461.9 MB, free: 17.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.3215, allocations: 10.27 kB / 461.9 MB, free: 17.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.918e-05/0.3216, allocations: 18.56 kB / 462 MB, free: 17.83 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.3217, allocations: 198.4 kB / 462.2 MB, free: 17.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.3218, allocations: 10.72 kB / 462.2 MB, free: 17.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.3218, allocations: 7.312 kB / 462.2 MB, free: 17.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003886/0.3222, allocations: 176.3 kB / 462.3 MB, free: 17.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.3222, allocations: 0 / 462.3 MB, free: 17.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/0.3222, allocations: 7.891 kB / 462.4 MB, free: 17.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.3222, allocations: 0 / 462.4 MB, free: 17.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004178/0.3227, allocations: 133.6 kB / 462.5 MB, free: 17.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008246/0.3235, allocations: 0.7159 MB / 463.2 MB, free: 16.81 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004696/0.324, allocations: 261.9 kB / 463.5 MB, free: 16.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002188/0.3242, allocations: 96.66 kB / 463.5 MB, free: 16.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.3242, allocations: 7.172 kB / 463.6 MB, free: 16.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000335/0.3246, allocations: 162 kB / 463.7 MB, free: 16.4 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.703e-06/0.3246, allocations: 0 / 463.7 MB, free: 16.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.00074/0.3253, allocations: 249.5 kB / 464 MB, free: 16.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.285e-05/0.3254, allocations: 163.1 kB / 464.1 MB, free: 16.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.3255, allocations: 168.3 kB / 464.3 MB, free: 16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.3256, allocations: 28.95 kB / 464.3 MB, free: 15.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.753e-05/0.3256, allocations: 113.6 kB / 464.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/0.3257, allocations: 33.78 kB / 464.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.699e-05/0.3257, allocations: 33.3 kB / 464.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.825e-05/0.3258, allocations: 321.3 kB / 464.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002025/0.326, allocations: 65.77 kB / 464.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001967/0.3262, allocations: 95.05 kB / 465 MB, free: 15.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003901/0.3266, allocations: 179.3 kB / 465.1 MB, free: 15.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3266, allocations: 1.156 kB / 465.1 MB, free: 15.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005368/0.3272, allocations: 227.8 kB / 465.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.204e-05/0.3272, allocations: 35.88 kB / 465.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3272, allocations: 1.469 kB / 465.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.3272, allocations: 5.062 kB / 465.4 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.3274, allocations: 33.55 kB / 465.4 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.3274, allocations: 3.297 kB / 465.4 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/0.3276, allocations: 25.48 kB / 465.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.3276, allocations: 4.312 kB / 465.5 MB, free: 15.18 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 9.019e-05/0.3277, allocations: 141 kB / 465.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.621e-05/0.3277, allocations: 13.66 kB / 465.6 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001918/0.3279, allocations: 96.8 kB / 465.7 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.3279, allocations: 2.938 kB / 465.7 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.328, allocations: 0.7969 kB / 465.7 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.328, allocations: 4.359 kB / 465.7 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003189/0.3283, allocations: 436.6 kB / 466.1 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.3283, allocations: 6.906 kB / 466.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/0.3285, allocations: 29.94 kB / 466.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3285, allocations: 3.125 kB / 466.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.3285, allocations: 3.891 kB / 466.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.3285, allocations: 0.5156 kB / 466.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3285, allocations: 4.375 kB / 466.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004526/0.329, allocations: 370.9 kB / 466.6 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.334e-05/0.329, allocations: 94.61 kB / 466.6 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.987e-05/0.329, allocations: 3.719 kB / 466.6 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/0.3292, allocations: 20.92 kB / 466.7 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.36e-05/0.3293, allocations: 17.52 kB / 466.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.3293, allocations: 4.859 kB / 466.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.309e-05/0.3294, allocations: 126.1 kB / 466.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3294, allocations: 0 / 466.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003001/0.3297, allocations: 29.33 kB / 466.8 MB, free: 14.07 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 8.76e-05/0.3298, allocations: 115 kB / 467 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005391/0.3304, allocations: 205.2 kB / 467.2 MB, free: 13.87 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.3304, allocations: 4 kB / 467.2 MB, free: 13.86 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002786/0.3307, allocations: 87.78 kB / 467.2 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004009/0.3311, allocations: 23.39 kB / 467.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006326/0.3317, allocations: 285.8 kB / 467.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002056/0.332, allocations: 0.7194 MB / 468.3 MB, free: 12.92 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.041e-05/0.332, allocations: 14.67 kB / 468.3 MB, free: 12.92 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.099e-05/0.3321, allocations: 18.17 kB / 468.3 MB, free: 12.91 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3321, allocations: 4 kB / 468.3 MB, free: 12.91 MB / 350.1 MB Notification: Performance of Templates: time 0.005318/0.3374, allocations: 1.409 MB / 469.7 MB, free: 12.77 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)