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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 FastBuildings with version 0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.02592/0.02592, allocations: 4.536 MB / 17.8 MB, free: 2.512 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 221.4 MB / 240.8 MB, free: 8.715 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009163/0.000916, allocations: 93.69 kB / 292.8 MB, free: 7.965 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.797e-05/3.8e-05, allocations: 4 kB / 352.2 MB, free: 12.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2775, allocations: 51.48 MB / 403.7 MB, free: 28.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09668/0.3742, allocations: 77.28 MB / 480.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001387/0.3744, allocations: 47.98 kB / 481 MB, free: 15.13 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006243/0.3807, allocations: 2.16 MB / 483.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3807, allocations: 0 / 483.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.3807, allocations: 3.938 kB / 483.1 MB, free: 12.97 MB / 362.7 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.0005857/0.3813, allocations: 451.8 kB / 483.6 MB, free: 12.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.3814, allocations: 8.031 kB / 483.6 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.912e-05/0.3814, allocations: 11.91 kB / 483.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.3817, allocations: 203.3 kB / 483.8 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.3817, allocations: 8 kB / 483.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.3817, allocations: 12 kB / 483.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002458/0.382, allocations: 142.4 kB / 484 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.382, allocations: 0 / 484 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.382, allocations: 4 kB / 484 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.382, allocations: 7.953 kB / 484 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/0.3822, allocations: 71.89 kB / 484 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008339/0.383, allocations: 0.7316 MB / 484.8 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002611/0.3833, allocations: 226.2 kB / 485 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.173e-05/0.3834, allocations: 64.38 kB / 485.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.3834, allocations: 3.984 kB / 485.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002032/0.3836, allocations: 137.8 kB / 485.2 MB, free: 10.63 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.403e-06/0.3836, allocations: 3.938 kB / 485.2 MB, free: 10.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002679/0.3839, allocations: 129.4 kB / 485.3 MB, free: 10.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.949e-05/0.384, allocations: 166.1 kB / 485.5 MB, free: 10.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.3841, allocations: 151 kB / 485.6 MB, free: 10.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.3842, allocations: 33.69 kB / 485.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.768e-05/0.3842, allocations: 104 kB / 485.8 MB, free: 10 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.3843, allocations: 35.53 kB / 485.8 MB, free: 9.965 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.258e-06/0.3843, allocations: 4 kB / 485.8 MB, free: 9.961 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.3844, allocations: 322.8 kB / 486.1 MB, free: 9.637 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.825e-05/0.3845, allocations: 35.98 kB / 486.2 MB, free: 9.602 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.923e-05/0.3846, allocations: 75.17 kB / 486.2 MB, free: 9.516 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.593e-05/0.3847, allocations: 65.62 kB / 486.3 MB, free: 9.445 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.3847, allocations: 0 / 486.3 MB, free: 9.445 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002482/0.3849, allocations: 175 kB / 486.5 MB, free: 9.262 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.178e-05/0.385, allocations: 37.69 kB / 486.5 MB, free: 9.219 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.385, allocations: 96 / 486.5 MB, free: 9.219 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.385, allocations: 8 kB / 486.5 MB, free: 9.211 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/0.3852, allocations: 39.91 kB / 486.6 MB, free: 9.172 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.3852, allocations: 4 kB / 486.6 MB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/0.3854, allocations: 23.92 kB / 486.6 MB, free: 9.145 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.3854, allocations: 4 kB / 486.6 MB, free: 9.141 MB / 362.7 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 () * 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 8.243e-05/0.3855, allocations: 120.9 kB / 486.7 MB, free: 9.016 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/0.3855, allocations: 19.75 kB / 486.7 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001547/0.3857, allocations: 81.62 kB / 486.8 MB, free: 8.906 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.3857, allocations: 4 kB / 486.8 MB, free: 8.902 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.3857, allocations: 0 / 486.8 MB, free: 8.902 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.3857, allocations: 4 kB / 486.8 MB, free: 8.898 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002955/0.386, allocations: 425.9 kB / 487.2 MB, free: 8.426 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.386, allocations: 0 / 487.2 MB, free: 8.426 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001485/0.3862, allocations: 32.02 kB / 487.3 MB, free: 8.395 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.3862, allocations: 11.92 kB / 487.3 MB, free: 8.383 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.3862, allocations: 4 kB / 487.3 MB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3862, allocations: 0 / 487.3 MB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.3862, allocations: 3.938 kB / 487.3 MB, free: 8.375 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002862/0.3865, allocations: 372 kB / 487.6 MB, free: 7.961 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.901e-05/0.3866, allocations: 88.95 kB / 487.7 MB, free: 7.855 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.3866, allocations: 11.94 kB / 487.7 MB, free: 7.844 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/0.3868, allocations: 24.05 kB / 487.8 MB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.238e-05/0.3869, allocations: 23.91 kB / 487.8 MB, free: 7.797 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.3869, allocations: 4 kB / 487.8 MB, free: 7.793 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001163/0.3871, allocations: 132.1 kB / 487.9 MB, free: 7.664 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3871, allocations: 0 / 487.9 MB, free: 7.664 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002624/0.3873, allocations: 24 kB / 487.9 MB, free: 7.641 MB / 362.7 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) * 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.0001061/0.3874, allocations: 95.25 kB / 488 MB, free: 7.539 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002294/0.3877, allocations: 151.2 kB / 488.2 MB, free: 7.379 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.3877, allocations: 4 kB / 488.2 MB, free: 7.375 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.3878, allocations: 60.11 kB / 488.2 MB, free: 7.316 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.3881, allocations: 20.11 kB / 488.3 MB, free: 7.297 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004221/0.3885, allocations: 197.3 kB / 488.5 MB, free: 7.066 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.3888, allocations: 0.7238 MB / 489.2 MB, free: 6.316 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.409e-05/0.3888, allocations: 20.41 kB / 489.2 MB, free: 6.293 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.001e-05/0.3889, allocations: 15.44 kB / 489.2 MB, free: 6.281 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3889, allocations: 0 / 489.2 MB, free: 6.281 MB / 362.7 MB Notification: Performance of Templates: time 0.003207/0.3921, allocations: 1.172 MB / 490.4 MB, free: 5.121 MB / 362.7 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)