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.0009626/0.0009626, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.001003/0.001003, allocations: 170 kB / 23.27 MB, free: 1.223 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 1.021/1.021, allocations: 177.2 MB / 203.7 MB, free: 5.516 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.01354/0.01354, allocations: 3.575 MB / 263.8 MB, free: 9.465 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.633e-06/1.633e-06, allocations: 0 / 334.6 MB, free: 40 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.39e-05/2.553e-05, allocations: 2.312 kB / 334.6 MB, free: 36 kB / 298.7 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Controlled): time 0.003713/0.003738, allocations: 3.204 MB / 337.9 MB, free: 12.81 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009717/0.00471, allocations: 0.8417 MB / 338.7 MB, free: 11.96 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.004831, allocations: 12 kB / 338.7 MB, free: 11.95 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001225/0.004954, allocations: 59.38 kB / 338.8 MB, free: 11.89 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001647/0.005118, allocations: 134.8 kB / 338.9 MB, free: 11.76 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002894/0.005408, allocations: 163.6 kB / 339.1 MB, free: 11.6 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003405/0.005748, allocations: 0.5218 MB / 339.6 MB, free: 11.07 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004663/0.006214, allocations: 175.3 kB / 339.7 MB, free: 10.91 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002642/0.006479, allocations: 307.3 kB / 340 MB, free: 10.61 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001582/0.006637, allocations: 155.6 kB / 340.2 MB, free: 10.45 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.607e-05/0.006683, allocations: 56 kB / 340.3 MB, free: 10.4 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.602e-05/0.006749, allocations: 60 kB / 340.3 MB, free: 10.34 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.713e-05/0.006806, allocations: 107.7 kB / 340.4 MB, free: 10.23 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.641e-05/0.006902, allocations: 155.7 kB / 340.6 MB, free: 10.08 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002751/0.007178, allocations: 350.8 kB / 340.9 MB, free: 9.738 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.00718, allocations: 4 kB / 340.9 MB, free: 9.734 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.007181, allocations: 0 / 340.9 MB, free: 9.734 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.007184, allocations: 0 / 340.9 MB, free: 9.734 MB / 314.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.0006915/0.007876, allocations: 0.7631 MB / 341.7 MB, free: 8.926 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.564e-05/0.007902, allocations: 8.031 kB / 341.7 MB, free: 8.918 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001567/0.008058, allocations: 84.64 kB / 341.8 MB, free: 8.836 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002091/0.008267, allocations: 255.4 kB / 342 MB, free: 8.562 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.556e-05/0.008333, allocations: 106.3 kB / 342.1 MB, free: 8.441 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.648e-05/0.008369, allocations: 40.3 kB / 342.2 MB, free: 8.402 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003009/0.00867, allocations: 263.9 kB / 342.4 MB, free: 8.129 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.008681, allocations: 8.125 kB / 342.4 MB, free: 8.121 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.008701, allocations: 20.12 kB / 342.4 MB, free: 8.102 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.008708, allocations: 8 kB / 342.5 MB, free: 8.094 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.00883, allocations: 76.52 kB / 342.5 MB, free: 8.016 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009806/0.009811, allocations: 1.153 MB / 343.7 MB, free: 6.805 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002592/0.01007, allocations: 177.5 kB / 343.9 MB, free: 6.609 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.108e-05/0.01015, allocations: 75.09 kB / 343.9 MB, free: 6.531 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.01017, allocations: 4 kB / 343.9 MB, free: 6.527 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001619/0.01033, allocations: 152.8 kB / 344.1 MB, free: 6.355 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 2.204e-06/0.01033, allocations: 7.984 kB / 344.1 MB, free: 6.348 MB / 314.7 MB Notification: Performance of matching and sorting (n=26): time 0.0002836/0.01062, allocations: 201.3 kB / 344.3 MB, free: 6.145 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.01065, allocations: 85.05 kB / 344.4 MB, free: 6.043 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.01079, allocations: 304.1 kB / 344.7 MB, free: 5.727 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.01081, allocations: 29.7 kB / 344.7 MB, free: 5.691 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.828e-05/0.01091, allocations: 251.2 kB / 344.9 MB, free: 5.441 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.163e-05/0.01096, allocations: 95.19 kB / 345 MB, free: 5.348 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.319e-05/0.01104, allocations: 63.92 kB / 345.1 MB, free: 5.277 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.01115, allocations: 0.5156 MB / 345.6 MB, free: 4.75 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.306e-05/0.01123, allocations: 65.66 kB / 345.7 MB, free: 4.68 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.476e-05/0.01132, allocations: 132.3 kB / 345.8 MB, free: 4.52 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.01149, allocations: 175.6 kB / 346 MB, free: 4.316 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.01149, allocations: 0 / 346 MB, free: 4.316 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002575/0.01175, allocations: 268.8 kB / 346.2 MB, free: 4.035 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.01177, allocations: 33.7 kB / 346.3 MB, free: 3.996 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.01177, allocations: 0 / 346.3 MB, free: 3.996 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.01179, allocations: 4 kB / 346.3 MB, free: 3.992 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003386/0.01212, allocations: 147.8 kB / 346.4 MB, free: 3.848 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001059/0.01318, allocations: 2.052 MB / 348.5 MB, free: 1.688 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.01329, allocations: 35.86 kB / 348.5 MB, free: 1.652 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.01331, allocations: 4 kB / 348.5 MB, free: 1.648 MB / 314.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.0001062/0.01341, allocations: 178.3 kB / 348.7 MB, free: 1.465 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.59e-05/0.01345, allocations: 39.94 kB / 348.7 MB, free: 1.426 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002119/0.01366, allocations: 191.7 kB / 348.9 MB, free: 1.234 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.01366, allocations: 4 kB / 348.9 MB, free: 1.23 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.92e-07/0.01366, allocations: 0 / 348.9 MB, free: 1.23 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.01367, allocations: 0 / 348.9 MB, free: 1.23 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/0.01386, allocations: 253 kB / 349.2 MB, free: 0.957 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.01386, allocations: 0 / 349.2 MB, free: 0.957 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003131/0.01417, allocations: 143.8 kB / 349.3 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.01417, allocations: 0 / 349.3 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.01419, allocations: 8 kB / 349.3 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006704/0.01486, allocations: 2.047 MB / 351.4 MB, free: 14.65 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.01486, allocations: 12.05 kB / 351.4 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000268/0.01513, allocations: 260.8 kB / 351.6 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.472e-05/0.01515, allocations: 27.84 kB / 351.7 MB, free: 14.33 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.01518, allocations: 12 kB / 351.7 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.844e-05/0.01526, allocations: 15.98 kB / 351.7 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.079e-05/0.01531, allocations: 23.95 kB / 351.7 MB, free: 14.28 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.01532, allocations: 11.98 kB / 351.7 MB, free: 14.27 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.401e-05/0.0154, allocations: 197.1 kB / 351.9 MB, free: 14.08 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0154, allocations: 0 / 351.9 MB, free: 14.08 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002284/0.01563, allocations: 95.78 kB / 352 MB, free: 13.98 MB / 330.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 7.293e-05/0.0157, allocations: 111 kB / 352.1 MB, free: 13.87 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003621/0.01607, allocations: 297.8 kB / 352.4 MB, free: 13.55 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.01607, allocations: 4.312 kB / 352.4 MB, free: 13.55 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002182/0.01629, allocations: 143.5 kB / 352.5 MB, free: 13.41 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.01648, allocations: 52.39 kB / 352.6 MB, free: 13.36 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009849/0.01747, allocations: 0.7121 MB / 353.3 MB, free: 12.61 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.601e-05/0.01752, allocations: 108.2 kB / 353.4 MB, free: 12.49 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.334e-05/0.01759, allocations: 25.89 kB / 353.4 MB, free: 12.46 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.01772, allocations: 118.2 kB / 353.6 MB, free: 12.34 MB / 330.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01772, allocations: 4 kB / 353.6 MB, free: 12.34 MB / 330.7 MB Notification: Performance of Templates: time 0.005585/0.02331, allocations: 3.865 MB / 357.4 MB, free: 8.535 MB / 330.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.9389451444149017]