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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001906/0.001906, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9755/0.9755, allocations: 177.1 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.01357/0.01357, allocations: 3.585 MB / 263.8 MB, free: 9.48 MB / 250.7 MB " [Timeout remaining time 180] Using package FastBuildings with version 0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(FastBuildings.Examples.SingleZone_Controlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Controlled") translateModel(FastBuildings.Examples.SingleZone_Controlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Controlled") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 281.4 MB, free: 7.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.24e-05/2.388e-05, allocations: 5.969 kB / 281.4 MB, free: 7.926 MB / 266.7 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Controlled): time 0.003188/0.003212, allocations: 3.197 MB / 284.6 MB, free: 4.707 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.004426, allocations: 0.8691 MB / 285.5 MB, free: 3.832 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00015/0.004576, allocations: 11.94 kB / 285.5 MB, free: 3.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001562/0.004732, allocations: 59.31 kB / 285.5 MB, free: 3.762 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001815/0.004914, allocations: 130.9 kB / 285.7 MB, free: 3.633 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003817/0.005295, allocations: 155.8 kB / 285.8 MB, free: 3.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004057/0.005701, allocations: 0.5295 MB / 286.3 MB, free: 2.945 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00027/0.005971, allocations: 195.2 kB / 286.5 MB, free: 2.754 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003244/0.006295, allocations: 303.4 kB / 286.8 MB, free: 2.457 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000186/0.006481, allocations: 159.6 kB / 287 MB, free: 2.301 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.37e-05/0.006535, allocations: 56 kB / 287 MB, free: 2.246 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.742e-05/0.006613, allocations: 60 kB / 287.1 MB, free: 2.188 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.652e-05/0.006689, allocations: 103.7 kB / 287.2 MB, free: 2.086 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.006809, allocations: 163.7 kB / 287.4 MB, free: 1.926 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003838/0.007193, allocations: 334.9 kB / 287.7 MB, free: 1.598 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.007196, allocations: 0 / 287.7 MB, free: 1.598 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.007197, allocations: 0 / 287.7 MB, free: 1.598 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.007203, allocations: 4 kB / 287.7 MB, free: 1.594 MB / 266.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.0007883/0.007992, allocations: 0.6342 MB / 288.3 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.008027, allocations: 12.03 kB / 288.3 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000184/0.008211, allocations: 76.81 kB / 288.4 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002453/0.008456, allocations: 204.6 kB / 288.6 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.016e-05/0.008536, allocations: 106.3 kB / 288.7 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.162e-05/0.008578, allocations: 32.38 kB / 288.7 MB, free: 476 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002978/0.008876, allocations: 262.2 kB / 289 MB, free: 200 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.008887, allocations: 192 / 289 MB, free: 200 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.17e-05/0.008909, allocations: 16.12 kB / 289 MB, free: 184 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.936e-06/0.008918, allocations: 15.98 kB / 289 MB, free: 168 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.009033, allocations: 72.48 kB / 289.1 MB, free: 92 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1143/0.1233, allocations: 0.8641 MB / 290 MB, free: 23.13 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003457/0.1237, allocations: 149.1 kB / 290.1 MB, free: 23.08 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.632e-05/0.1238, allocations: 65 kB / 290.2 MB, free: 23.07 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.1238, allocations: 8.031 kB / 290.2 MB, free: 23.06 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001943/0.124, allocations: 137.1 kB / 290.3 MB, free: 23 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 3.126e-06/0.124, allocations: 0.9375 kB / 290.3 MB, free: 23 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.0002967/0.1243, allocations: 159.4 kB / 290.5 MB, free: 22.96 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.1243, allocations: 85.47 kB / 290.6 MB, free: 22.87 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.1245, allocations: 235 kB / 290.8 MB, free: 22.76 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.1245, allocations: 32.16 kB / 290.8 MB, free: 22.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.61e-05/0.1246, allocations: 184.7 kB / 291 MB, free: 22.61 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.096e-05/0.1246, allocations: 92.33 kB / 291.1 MB, free: 22.56 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.427e-05/0.1247, allocations: 52.88 kB / 291.1 MB, free: 22.55 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.592e-05/0.1247, allocations: 342.6 kB / 291.5 MB, free: 22.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.426e-05/0.1248, allocations: 57.62 kB / 291.5 MB, free: 22.2 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.981e-05/0.1249, allocations: 107.2 kB / 291.6 MB, free: 22.12 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.1251, allocations: 162.6 kB / 291.8 MB, free: 22.04 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.1251, allocations: 1.219 kB / 291.8 MB, free: 22.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002206/0.1253, allocations: 218.9 kB / 292 MB, free: 21.94 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.105e-05/0.1253, allocations: 35.7 kB / 292 MB, free: 21.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-06/0.1253, allocations: 1.062 kB / 292.1 MB, free: 21.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.1253, allocations: 3.125 kB / 292.1 MB, free: 21.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003672/0.1257, allocations: 151.1 kB / 292.2 MB, free: 21.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005971/0.1263, allocations: 1.371 MB / 293.6 MB, free: 20.58 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/0.1265, allocations: 38.08 kB / 293.6 MB, free: 20.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.1265, allocations: 7.031 kB / 293.6 MB, free: 20.57 MB / 266.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 (simFasBui.powElePul.count,$PRE.simFasBui.powElePul.count,simFasBui.powElePul.T_start,$PRE.simFasBui.powElePul.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001037/0.1266, allocations: 142.9 kB / 293.8 MB, free: 20.45 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.779e-05/0.1266, allocations: 21.09 kB / 293.8 MB, free: 20.45 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002077/0.1268, allocations: 155.3 kB / 293.9 MB, free: 20.4 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.1268, allocations: 5.953 kB / 293.9 MB, free: 20.4 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.1268, allocations: 1.781 kB / 293.9 MB, free: 20.4 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.1268, allocations: 5.344 kB / 293.9 MB, free: 20.4 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002133/0.1271, allocations: 219.6 kB / 294.2 MB, free: 20.31 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1271, allocations: 0.6562 kB / 294.2 MB, free: 20.31 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003333/0.1274, allocations: 137.7 kB / 294.3 MB, free: 20.31 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/0.1274, allocations: 1.781 kB / 294.3 MB, free: 20.31 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.1274, allocations: 11.47 kB / 294.3 MB, free: 20.31 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004233/0.1278, allocations: 1.371 MB / 295.7 MB, free: 18.98 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1278, allocations: 0 / 295.7 MB, free: 18.98 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/0.1281, allocations: 212.5 kB / 295.9 MB, free: 18.9 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.816e-05/0.1281, allocations: 25.72 kB / 295.9 MB, free: 18.88 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.1282, allocations: 15.17 kB / 295.9 MB, free: 18.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.1283, allocations: 21.05 kB / 295.9 MB, free: 18.88 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.252e-05/0.1284, allocations: 26.78 kB / 296 MB, free: 18.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.03e-05/0.1284, allocations: 4.578 kB / 296 MB, free: 18.88 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001372/0.1285, allocations: 81.67 kB / 296.1 MB, free: 18.87 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1285, allocations: 3 kB / 296.1 MB, free: 18.87 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003863/0.1289, allocations: 94.03 kB / 296.1 MB, free: 18.85 MB / 266.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) * Number of clocked states: 0 () * 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001214/0.129, allocations: 86.02 kB / 296.2 MB, free: 18.79 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004743/0.1295, allocations: 274.5 kB / 296.5 MB, free: 18.68 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.248e-06/0.1295, allocations: 2.969 kB / 296.5 MB, free: 18.68 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002578/0.1298, allocations: 142.2 kB / 296.6 MB, free: 18.67 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.13, allocations: 52.52 kB / 296.7 MB, free: 18.66 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.1313, allocations: 0.6678 MB / 297.4 MB, free: 18.33 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.438e-05/0.1314, allocations: 104.3 kB / 297.5 MB, free: 18.26 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001026/0.1315, allocations: 21.8 kB / 297.5 MB, free: 18.25 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.1316, allocations: 98.95 kB / 297.6 MB, free: 18.21 MB / 266.7 MB Notification: Performance of SimCode: time 9.52e-07/0.1316, allocations: 0 / 297.6 MB, free: 18.21 MB / 266.7 MB Notification: Performance of Templates: time 0.007252/0.1389, allocations: 3.719 MB / 301.3 MB, free: 17.61 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f FastBuildings_FastBuildings.Examples.SingleZone_Controlled.makefile [Timeout 660] (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=240 -lv LOG_STATS > FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7748066070489585]