Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Controlled.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.Examples.SingleZone_Controlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Controlled") translateModel(FastBuildings.Examples.SingleZone_Controlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Controlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 174.6 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.02409/0.02409, allocations: 4.539 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.235/1.235, allocations: 221.4 MB / 240.8 MB, free: 8.77 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.0008061/0.0008059, allocations: 107.3 kB / 292.8 MB, free: 7.977 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.199e-05/2.204e-05, allocations: 7.984 kB / 352.2 MB, free: 12.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.2008, allocations: 51.47 MB / 403.7 MB, free: 28.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08188/0.2827, allocations: 78.9 MB / 482.6 MB, free: 13.57 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001552/0.2829, allocations: 51.97 kB / 482.6 MB, free: 13.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01689/0.2998, allocations: 7.197 MB / 489.8 MB, free: 6.289 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2998, allocations: 4 kB / 489.8 MB, free: 6.285 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.539e-05/0.2999, allocations: 8 kB / 489.8 MB, free: 6.277 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0009918/0.3008, allocations: 0.6346 MB / 490.4 MB, free: 5.594 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.3009, allocations: 8.031 kB / 490.5 MB, free: 5.586 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.81e-05/0.301, allocations: 43.48 kB / 490.5 MB, free: 5.543 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003728/0.3014, allocations: 309.5 kB / 490.8 MB, free: 5.199 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.3015, allocations: 58.47 kB / 490.9 MB, free: 5.133 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.401e-05/0.3015, allocations: 31.91 kB / 490.9 MB, free: 5.102 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005474/0.3021, allocations: 351 kB / 491.2 MB, free: 4.746 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.3021, allocations: 0 / 491.2 MB, free: 4.746 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.226e-05/0.3022, allocations: 8 kB / 491.2 MB, free: 4.738 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.3022, allocations: 11.94 kB / 491.2 MB, free: 4.727 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003991/0.3026, allocations: 255 kB / 491.5 MB, free: 4.477 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001915/0.3045, allocations: 1.523 MB / 493 MB, free: 2.852 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005948/0.3051, allocations: 317.5 kB / 493.3 MB, free: 2.523 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002286/0.3053, allocations: 153.7 kB / 493.5 MB, free: 2.367 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.3054, allocations: 7.938 kB / 493.5 MB, free: 2.359 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003031/0.3057, allocations: 206.5 kB / 493.7 MB, free: 2.141 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 1.322e-06/0.3057, allocations: 0 / 493.7 MB, free: 2.141 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.000469/0.3062, allocations: 289.1 kB / 494 MB, free: 1.852 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.3062, allocations: 85.05 kB / 494.1 MB, free: 1.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002365/0.3065, allocations: 255.4 kB / 494.3 MB, free: 1.488 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.3065, allocations: 29.7 kB / 494.3 MB, free: 1.453 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.3066, allocations: 196 kB / 494.5 MB, free: 1.258 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.711e-05/0.3067, allocations: 82.8 kB / 494.6 MB, free: 1.176 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.869e-05/0.3067, allocations: 8 kB / 494.6 MB, free: 1.168 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.3069, allocations: 346.8 kB / 495 MB, free: 0.8203 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001727/0.307, allocations: 104 kB / 495.1 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.3072, allocations: 157.5 kB / 495.2 MB, free: 0.5469 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002061/0.3075, allocations: 157.6 kB / 495.4 MB, free: 396 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.3075, allocations: 4 kB / 495.4 MB, free: 392 kB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005088/0.308, allocations: 370.8 kB / 495.7 MB, free: 8 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.733e-05/0.308, allocations: 37.69 kB / 495.8 MB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.308, allocations: 0 / 495.8 MB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.3081, allocations: 7.953 kB / 495.8 MB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/0.3091, allocations: 279.8 kB / 496 MB, free: 15.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009409/0.3101, allocations: 1.41 MB / 497.5 MB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002975/0.3104, allocations: 71.77 kB / 497.5 MB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.529e-05/0.3104, allocations: 12 kB / 497.5 MB, free: 14.06 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.simFasBui.powElePul.T_start,simFasBui.powElePul.T_start,$PRE.simFasBui.powElePul.count,simFasBui.powElePul.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.703e-05/0.3105, allocations: 132.2 kB / 497.7 MB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.094e-05/0.3106, allocations: 27.67 kB / 497.7 MB, free: 13.9 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004847/0.3111, allocations: 299.6 kB / 498 MB, free: 13.6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.3111, allocations: 0 / 498 MB, free: 13.6 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.3111, allocations: 7.938 kB / 498 MB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3111, allocations: 0 / 498 MB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004183/0.3115, allocations: 457.2 kB / 498.4 MB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3115, allocations: 0 / 498.4 MB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/0.3126, allocations: 267.7 kB / 498.7 MB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.3126, allocations: 3.953 kB / 498.7 MB, free: 12.83 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.355e-05/0.3126, allocations: 8 kB / 498.7 MB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008726/0.3135, allocations: 1.426 MB / 0.4884 GB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3135, allocations: 4.031 kB / 0.4884 GB, free: 11.26 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006389/0.3141, allocations: 479.1 kB / 0.4889 GB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.687e-05/0.3142, allocations: 104.8 kB / 0.489 GB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.804e-05/0.3143, allocations: 12.09 kB / 0.489 GB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002391/0.3145, allocations: 35.95 kB / 0.489 GB, free: 10.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.835e-05/0.3146, allocations: 27.97 kB / 0.4891 GB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.3146, allocations: 7.984 kB / 0.4891 GB, free: 10.56 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001734/0.3148, allocations: 207.1 kB / 0.4893 GB, free: 10.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3148, allocations: 0 / 0.4893 GB, free: 10.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003791/0.3152, allocations: 95.69 kB / 0.4893 GB, free: 10.27 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (bui.zon.capZon.heaPor.T,bui.zon.capWal.heaPor.T,bui.zon.capEmb.heaPor.T) * Number of discrete variables: 3 ($whenCondition1,simFasBui.powElePul.T_start,simFasBui.powElePul.count) * Number of discrete states: 1 (simFasBui.powElePul.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001162/0.3153, allocations: 107.1 kB / 0.4895 GB, free: 10.15 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001064/0.3164, allocations: 491 kB / 0.4899 GB, free: 9.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3164, allocations: 320 / 0.4899 GB, free: 9.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008162/0.3172, allocations: 300.2 kB / 0.4902 GB, free: 9.367 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.3175, allocations: 52.75 kB / 0.4903 GB, free: 9.312 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.319, allocations: 0.7276 MB / 0.491 GB, free: 8.551 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.3193, allocations: 0.7991 MB / 0.4917 GB, free: 7.727 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001453/0.3194, allocations: 38.03 kB / 0.4918 GB, free: 7.691 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.442e-05/0.3195, allocations: 23.44 kB / 0.4918 GB, free: 7.668 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3195, allocations: 0 / 0.4918 GB, free: 7.668 MB / 378.7 MB Notification: Performance of Templates: time 0.005857/0.3254, allocations: 3.141 MB / 0.4949 GB, free: 4.559 MB / 378.7 MB make -j1 -f FastBuildings_FastBuildings.Examples.SingleZone_Controlled.makefile (rm -f FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Controlled.sim & ./FastBuildings_FastBuildings.Examples.SingleZone_Controlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe 2>&1)