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.001259/0.001259, allocations: 77.7 kB / 19.76 MB, free: 2.031 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.001385/0.001385, allocations: 158.1 kB / 23.01 MB, free: 4.945 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.457/1.457, allocations: 177.2 MB / 203.4 MB, free: 8.949 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.02404/0.02404, allocations: 3.573 MB / 263.4 MB, free: 13.22 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: FastBuildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002181/0.002181, allocations: 59.91 kB / 387.9 MB, free: 15.31 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1307, allocations: 54.48 MB / 442.3 MB, free: 8.738 MB / 366.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Controlled): time 0.008064/0.1388, allocations: 2.986 MB / 445.3 MB, free: 5.734 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002652/0.1415, allocations: 0.8263 MB / 446.2 MB, free: 4.902 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002157/0.1417, allocations: 11.94 kB / 446.2 MB, free: 4.891 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002579/0.1419, allocations: 51.44 kB / 446.2 MB, free: 4.84 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000434/0.1424, allocations: 126.9 kB / 446.3 MB, free: 4.715 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000682/0.143, allocations: 155.7 kB / 446.5 MB, free: 4.562 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009889/0.144, allocations: 0.5103 MB / 447 MB, free: 4.051 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000589/0.1446, allocations: 175.4 kB / 447.2 MB, free: 3.879 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004985/0.1451, allocations: 207.3 kB / 447.4 MB, free: 3.676 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005302/0.1456, allocations: 179.1 kB / 447.6 MB, free: 3.5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001589/0.1458, allocations: 56 kB / 447.6 MB, free: 3.445 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001962/0.146, allocations: 60 kB / 447.7 MB, free: 3.387 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001788/0.1462, allocations: 107.7 kB / 447.8 MB, free: 3.281 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004032/0.1466, allocations: 187.2 kB / 448 MB, free: 3.098 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00109/0.1477, allocations: 0.5567 MB / 448.5 MB, free: 2.539 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.1477, allocations: 0 / 448.5 MB, free: 2.539 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1477, allocations: 0 / 448.5 MB, free: 2.539 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.261e-05/0.1477, allocations: 3.938 kB / 448.5 MB, free: 2.535 MB / 366.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.002611/0.1503, allocations: 0.6788 MB / 449.2 MB, free: 1.816 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.1504, allocations: 8.031 kB / 449.2 MB, free: 1.809 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005023/0.1509, allocations: 56.69 kB / 449.3 MB, free: 1.754 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007547/0.1516, allocations: 273.3 kB / 449.5 MB, free: 1.461 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000233/0.1519, allocations: 106.3 kB / 449.6 MB, free: 1.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.152, allocations: 32.36 kB / 449.7 MB, free: 1.309 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001593/0.1536, allocations: 397.1 kB / 450 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.1536, allocations: 3.938 kB / 450 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.906e-05/0.1536, allocations: 12 kB / 450.1 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.54e-05/0.1537, allocations: 4 kB / 450.1 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001754/0.1554, allocations: 326.4 kB / 450.4 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2344/0.3898, allocations: 1.16 MB / 451.5 MB, free: 19.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000989/0.3908, allocations: 358.4 kB / 451.9 MB, free: 19.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004138/0.3912, allocations: 186.4 kB / 452.1 MB, free: 19.6 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.088e-05/0.3913, allocations: 3.406 kB / 452.1 MB, free: 19.6 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005247/0.3918, allocations: 238 kB / 452.3 MB, free: 19.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.723e-06/0.3918, allocations: 0 / 452.3 MB, free: 19.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.001279/0.3931, allocations: 497.8 kB / 452.8 MB, free: 19.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.3931, allocations: 86.05 kB / 452.9 MB, free: 19.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002782/0.3934, allocations: 272 kB / 453.1 MB, free: 19.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.3934, allocations: 31.36 kB / 453.2 MB, free: 19.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.3935, allocations: 196.3 kB / 453.4 MB, free: 19.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.61e-05/0.3936, allocations: 95.25 kB / 453.5 MB, free: 19.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.993e-05/0.3937, allocations: 61.77 kB / 453.5 MB, free: 19.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.674e-05/0.3937, allocations: 347.3 kB / 453.9 MB, free: 18.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004166/0.3942, allocations: 176.2 kB / 454 MB, free: 18.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004296/0.3946, allocations: 231.9 kB / 454.3 MB, free: 18.56 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007831/0.3954, allocations: 364 kB / 454.6 MB, free: 18.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3954, allocations: 1.094 kB / 454.6 MB, free: 18.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009768/0.3964, allocations: 488.1 kB / 455.1 MB, free: 18.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.179e-05/0.3964, allocations: 36.77 kB / 455.1 MB, free: 18.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.3964, allocations: 2.125 kB / 455.1 MB, free: 18.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.3964, allocations: 6.75 kB / 455.1 MB, free: 18.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/0.3975, allocations: 216.7 kB / 455.3 MB, free: 18.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001389/0.3989, allocations: 1.556 MB / 456.9 MB, free: 16.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002904/0.3992, allocations: 45.73 kB / 456.9 MB, free: 16.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.903e-05/0.3992, allocations: 13.25 kB / 457 MB, free: 16.64 MB / 366.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.0001702/0.3994, allocations: 175.1 kB / 457.1 MB, free: 16.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.354e-05/0.3994, allocations: 29.25 kB / 457.2 MB, free: 16.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008907/0.4003, allocations: 373.7 kB / 457.5 MB, free: 16.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.4003, allocations: 5.25 kB / 457.5 MB, free: 16.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.4003, allocations: 3.938 kB / 457.5 MB, free: 16.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.4003, allocations: 6.438 kB / 457.5 MB, free: 16.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003491/0.4007, allocations: 316.5 kB / 457.9 MB, free: 16.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.4007, allocations: 0 / 457.9 MB, free: 16.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001134/0.4018, allocations: 207.3 kB / 458.1 MB, free: 16.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.4018, allocations: 5 kB / 458.1 MB, free: 16.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.02e-05/0.4019, allocations: 10.81 kB / 458.1 MB, free: 16.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001366/0.4032, allocations: 1.552 MB / 459.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.4032, allocations: 1.062 kB / 459.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/0.4046, allocations: 0.5793 MB / 460.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.579e-05/0.4046, allocations: 35.11 kB / 460.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.515e-05/0.4047, allocations: 8.062 kB / 460.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002404/0.4049, allocations: 26.36 kB / 460.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.405, allocations: 25.16 kB / 460.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-05/0.4051, allocations: 14.81 kB / 460.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002043/0.4053, allocations: 190.8 kB / 460.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4053, allocations: 0 / 460.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004819/0.4058, allocations: 95.38 kB / 460.6 MB, free: 14.22 MB / 366.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.0001057/0.4059, allocations: 103.8 kB / 460.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001701/0.4076, allocations: 0.5437 MB / 461.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.4076, allocations: 1.375 kB / 461.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001181/0.4087, allocations: 296.5 kB / 461.5 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004111/0.4092, allocations: 55.72 kB / 461.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002041/0.4112, allocations: 0.8743 MB / 462.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002191/0.4114, allocations: 190.4 kB / 462.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001808/0.4116, allocations: 33.62 kB / 462.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.611e-05/0.4117, allocations: 24.62 kB / 462.7 MB, free: 13.24 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4117, allocations: 0 / 462.7 MB, free: 13.24 MB / 366.1 MB Notification: Performance of Templates: time 0.01206/0.4238, allocations: 3.546 MB / 466.2 MB, free: 12.85 MB / 366.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 -s ida -lv LOG_STATS > FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.70334956899751] Failed to read output from testmodel.py, exit status != 0: 0.4334364370442927 0.445608162 0.295005967 Calling exit ...