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.001286/0.001286, allocations: 79.28 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001598/0.001598, allocations: 163.1 kB / 22.46 MB, free: 5.375 MB / 14.72 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.461/1.461, allocations: 177.1 MB / 202.8 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] 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.02411/0.02411, allocations: 3.566 MB / 262.7 MB, free: 13.24 MB / 254.1 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.773e-06/1.773e-06, allocations: 0 / 387.3 MB, free: 15.1 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.725e-05/2.902e-05, allocations: 2.281 kB / 387.3 MB, free: 15.1 MB / 318.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Controlled): time 0.004838/0.004867, allocations: 3.002 MB / 390.4 MB, free: 12.07 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001803/0.00667, allocations: 0.8301 MB / 391.2 MB, free: 11.24 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001939/0.006864, allocations: 8 kB / 391.2 MB, free: 11.23 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002003/0.007065, allocations: 59.38 kB / 391.2 MB, free: 11.17 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002699/0.007335, allocations: 130.8 kB / 391.4 MB, free: 11.04 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004763/0.007811, allocations: 163.6 kB / 391.5 MB, free: 10.88 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006424/0.008453, allocations: 0.5256 MB / 392.1 MB, free: 10.36 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003716/0.008825, allocations: 179.3 kB / 392.2 MB, free: 10.18 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004579/0.009283, allocations: 291.5 kB / 392.5 MB, free: 9.898 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002581/0.009541, allocations: 151.6 kB / 392.7 MB, free: 9.75 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.078e-05/0.009622, allocations: 56 kB / 392.7 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.009752, allocations: 63.94 kB / 392.8 MB, free: 9.633 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.009877, allocations: 107.7 kB / 392.9 MB, free: 9.527 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002148/0.01009, allocations: 159.6 kB / 393 MB, free: 9.371 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007378/0.01083, allocations: 0.5688 MB / 393.6 MB, free: 8.801 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.01083, allocations: 3.984 kB / 393.6 MB, free: 8.797 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01084, allocations: 0 / 393.6 MB, free: 8.797 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.01084, allocations: 0 / 393.6 MB, free: 8.797 MB / 318.1 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.001581/0.01242, allocations: 0.675 MB / 394.3 MB, free: 8.082 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.01246, allocations: 8.031 kB / 394.3 MB, free: 8.074 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003166/0.01278, allocations: 64.64 kB / 394.4 MB, free: 8.012 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004409/0.01322, allocations: 264.6 kB / 394.6 MB, free: 7.73 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001521/0.01337, allocations: 106.3 kB / 394.7 MB, free: 7.609 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.035e-05/0.01344, allocations: 32.38 kB / 394.8 MB, free: 7.578 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000889/0.01433, allocations: 397.5 kB / 395.1 MB, free: 7.18 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.01434, allocations: 192 / 395.1 MB, free: 7.18 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.241e-05/0.01439, allocations: 20.12 kB / 395.2 MB, free: 7.16 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.0144, allocations: 4 kB / 395.2 MB, free: 7.156 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000943/0.01534, allocations: 326.3 kB / 395.5 MB, free: 6.832 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002183/0.01752, allocations: 1.155 MB / 396.6 MB, free: 5.625 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/0.01871, allocations: 361.2 kB / 397 MB, free: 5.254 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000505/0.01922, allocations: 181.6 kB / 397.2 MB, free: 5.07 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.069e-05/0.01925, allocations: 7.938 kB / 397.2 MB, free: 5.062 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006013/0.01985, allocations: 249.5 kB / 397.4 MB, free: 4.801 MB / 318.1 MB Notification: Performance of pre-optimization done (n=26): time 1.583e-06/0.01985, allocations: 0 / 397.4 MB, free: 4.801 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.001493/0.02134, allocations: 497 kB / 397.9 MB, free: 4.309 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.759e-05/0.02141, allocations: 81.11 kB / 398 MB, free: 4.211 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003193/0.02173, allocations: 273.9 kB / 398.3 MB, free: 3.934 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.62e-05/0.02178, allocations: 33.7 kB / 398.3 MB, free: 3.895 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.02194, allocations: 200.5 kB / 398.5 MB, free: 3.691 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001/0.02204, allocations: 95.2 kB / 398.6 MB, free: 3.598 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.02217, allocations: 53.7 kB / 398.6 MB, free: 3.539 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002185/0.02239, allocations: 346.9 kB / 399 MB, free: 3.191 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004791/0.02287, allocations: 181.5 kB / 399.1 MB, free: 3.008 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005104/0.02338, allocations: 231.3 kB / 399.4 MB, free: 2.758 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009223/0.0243, allocations: 367.2 kB / 399.7 MB, free: 2.375 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.02431, allocations: 0 / 399.7 MB, free: 2.375 MB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001178/0.02548, allocations: 484.6 kB / 400.2 MB, free: 1.883 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.555e-05/0.02554, allocations: 37.7 kB / 400.2 MB, free: 1.84 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.02555, allocations: 3.984 kB / 400.2 MB, free: 1.836 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.02557, allocations: 4 kB / 400.2 MB, free: 1.832 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/0.02675, allocations: 211.8 kB / 400.5 MB, free: 1.625 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001926/0.02868, allocations: 1.554 MB / 402 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003032/0.02898, allocations: 39.89 kB / 402 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.993e-05/0.02901, allocations: 8 kB / 402.1 MB, free: 15.93 MB / 334.1 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.0002281/0.02924, allocations: 176.1 kB / 402.2 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.31e-05/0.0293, allocations: 39.73 kB / 402.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001007/0.03031, allocations: 367.7 kB / 402.6 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.03031, allocations: 4 kB / 402.6 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.03032, allocations: 0 / 402.6 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.03032, allocations: 7.922 kB / 402.6 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004277/0.03075, allocations: 325 kB / 403 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.03075, allocations: 0 / 403 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001158/0.03191, allocations: 195.8 kB / 403.1 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.167e-06/0.03192, allocations: 7.984 kB / 403.2 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.263e-05/0.03195, allocations: 11.94 kB / 403.2 MB, free: 14.78 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001834/0.03379, allocations: 1.557 MB / 404.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.03379, allocations: 0 / 404.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001474/0.03526, allocations: 0.5854 MB / 405.3 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.027e-05/0.03531, allocations: 27.8 kB / 405.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.858e-05/0.03536, allocations: 4 kB / 405.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002439/0.0356, allocations: 27.97 kB / 405.4 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.03571, allocations: 23.95 kB / 405.4 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-05/0.03574, allocations: 19.92 kB / 405.4 MB, free: 12.41 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000219/0.03596, allocations: 189.2 kB / 405.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.03596, allocations: 3.938 kB / 405.6 MB, free: 12.22 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004699/0.03643, allocations: 99.78 kB / 405.7 MB, free: 12.12 MB / 334.1 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.0001484/0.03658, allocations: 103.2 kB / 405.8 MB, free: 12.01 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00187/0.03845, allocations: 0.5438 MB / 406.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.03845, allocations: 192 / 406.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001197/0.03965, allocations: 295.7 kB / 406.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003896/0.04004, allocations: 44.5 kB / 406.7 MB, free: 11.12 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/0.04213, allocations: 0.8083 MB / 407.5 MB, free: 10.28 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002115/0.04234, allocations: 188.8 kB / 407.7 MB, free: 10.08 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001411/0.04249, allocations: 29.92 kB / 407.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.04259, allocations: 24.5 kB / 407.7 MB, free: 10.03 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.04259, allocations: 4 kB / 407.7 MB, free: 10.02 MB / 334.1 MB Notification: Performance of Templates: time 0.009356/0.05194, allocations: 3.544 MB / 411.3 MB, free: 6.531 MB / 334.1 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=480 -lv LOG_STATS > FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.423647951334715] Failed to read output from testmodel.py, exit status != 0: 0.062037691473960876 0.076818684 0.06286253800000001 Calling exit ...