Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Input.SIM_ArtificialInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001826/0.001826, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002631/0.002631, allocations: 186.2 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.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.04205/0.04205, allocations: 4.707 MB / 311 MB, free: 4.055 MB / 238.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(FastBuildings.Input.SIM_ArtificialInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Input.SIM_ArtificialInput") translateModel(FastBuildings.Input.SIM_ArtificialInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Input.SIM_ArtificialInput") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 59.89 kB / 433.2 MB, free: 18.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1303, allocations: 53.32 MB / 486.5 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_ArtificialInput): time 0.003406/0.1337, allocations: 1.697 MB / 488.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.1348, allocations: 490.7 kB / 488.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.803e-05/0.1349, allocations: 0 / 488.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.135, allocations: 23.8 kB / 488.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.922e-05/0.1351, allocations: 15.8 kB / 488.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002436/0.1353, allocations: 43.88 kB / 488.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002201/0.1355, allocations: 115.6 kB / 488.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002008/0.1357, allocations: 29.61 kB / 488.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001596/0.1359, allocations: 59.77 kB / 489 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.136, allocations: 55.75 kB / 489 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.952e-05/0.136, allocations: 12 kB / 489 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.206e-05/0.136, allocations: 12 kB / 489 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.755e-05/0.1361, allocations: 23.92 kB / 489.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.338e-05/0.1362, allocations: 51.66 kB / 489.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001965/0.1364, allocations: 99.56 kB / 489.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1364, allocations: 0 / 489.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1364, allocations: 0 / 489.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.1364, allocations: 0 / 489.2 MB, free: 10.1 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009417/0.1373, allocations: 399.4 kB / 489.6 MB, free: 9.672 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.826e-05/0.1374, allocations: 8.031 kB / 489.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.963e-05/0.1375, allocations: 16.84 kB / 489.6 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002611/0.1377, allocations: 146.8 kB / 489.8 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/0.1377, allocations: 8.375 kB / 489.8 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.253e-05/0.1378, allocations: 12.12 kB / 489.8 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005698/0.1384, allocations: 163.8 kB / 490 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1384, allocations: 0 / 490 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.1384, allocations: 11.98 kB / 490 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1384, allocations: 0 / 490 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004326/0.1388, allocations: 123.8 kB / 490.1 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.14, allocations: 0.6723 MB / 490.8 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004675/0.1405, allocations: 172.9 kB / 490.9 MB, free: 8.203 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002463/0.1407, allocations: 88.33 kB / 491 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.1407, allocations: 3.938 kB / 491 MB, free: 8.098 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000373/0.1411, allocations: 155.5 kB / 491.2 MB, free: 7.918 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.1411, allocations: 0 / 491.2 MB, free: 7.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008999/0.142, allocations: 241.5 kB / 491.4 MB, free: 7.676 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001259/0.1421, allocations: 162.1 kB / 491.6 MB, free: 7.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.1423, allocations: 162.2 kB / 491.7 MB, free: 7.312 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.1423, allocations: 25.7 kB / 491.8 MB, free: 7.281 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.1425, allocations: 112 kB / 491.9 MB, free: 7.168 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.947e-05/0.1425, allocations: 35.94 kB / 491.9 MB, free: 7.133 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.517e-05/0.1426, allocations: 33.7 kB / 491.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.1427, allocations: 322.8 kB / 492.2 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002291/0.143, allocations: 55.95 kB / 492.3 MB, free: 6.715 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002454/0.1432, allocations: 100.2 kB / 492.4 MB, free: 6.602 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005172/0.1437, allocations: 173.8 kB / 492.6 MB, free: 6.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.1437, allocations: 0 / 492.6 MB, free: 6.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005686/0.1443, allocations: 215.1 kB / 492.8 MB, free: 6.188 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.987e-05/0.1443, allocations: 37.69 kB / 492.8 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.1443, allocations: 4 kB / 492.8 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.1444, allocations: 8.062 kB / 492.8 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/0.1446, allocations: 35.97 kB / 492.9 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.1446, allocations: 0 / 492.9 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002195/0.1448, allocations: 15.98 kB / 492.9 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.344e-05/0.1448, allocations: 7.984 kB / 492.9 MB, free: 6.074 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 (powElePul.count,$PRE.powElePul.count,powElePul.T_start,$PRE.powElePul.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001354/0.145, allocations: 125.8 kB / 493 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.545e-05/0.145, allocations: 15.89 kB / 493 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002189/0.1452, allocations: 97.88 kB / 493.1 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.1452, allocations: 4 kB / 493.1 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1452, allocations: 0 / 493.1 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.1452, allocations: 3.984 kB / 493.1 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003159/0.1455, allocations: 297.6 kB / 493.4 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.1455, allocations: 3.938 kB / 493.4 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001919/0.1457, allocations: 27.98 kB / 493.4 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1457, allocations: 4 kB / 493.4 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/0.1458, allocations: 3.984 kB / 493.5 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1458, allocations: 4 kB / 493.5 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1458, allocations: 3.938 kB / 493.5 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006077/0.1464, allocations: 286.7 kB / 493.7 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.291e-05/0.1464, allocations: 23.88 kB / 493.8 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.1464, allocations: 0 / 493.8 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.1466, allocations: 19.98 kB / 493.8 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.797e-05/0.1467, allocations: 23.97 kB / 493.8 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.1467, allocations: 0 / 493.8 MB, free: 5.051 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001613/0.1469, allocations: 132 kB / 493.9 MB, free: 4.922 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1469, allocations: 0 / 493.9 MB, free: 4.922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002599/0.1471, allocations: 20 kB / 494 MB, free: 4.902 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,powElePul.T_start,powElePul.count) * Number of discrete states: 1 (powElePul.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001269/0.1473, allocations: 99.59 kB / 494.1 MB, free: 4.797 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005954/0.1479, allocations: 195.2 kB / 494.2 MB, free: 4.594 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1479, allocations: 0 / 494.2 MB, free: 4.594 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003282/0.1482, allocations: 87.78 kB / 494.3 MB, free: 4.508 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.1485, allocations: 24.36 kB / 494.4 MB, free: 4.484 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007429/0.1493, allocations: 282.7 kB / 494.6 MB, free: 4.168 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005846/0.1498, allocations: 0.7156 MB / 495.3 MB, free: 3.426 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001742/0.15, allocations: 20.42 kB / 495.4 MB, free: 3.406 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.931e-05/0.1501, allocations: 11.44 kB / 495.4 MB, free: 3.395 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1501, allocations: 0 / 495.4 MB, free: 3.395 MB / 350.1 MB Notification: Performance of Templates: time 0.00684/0.1569, allocations: 1.423 MB / 496.8 MB, free: 1.984 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f FastBuildings_FastBuildings.Input.SIM_ArtificialInput.makefile [Timeout 660] (rm -f FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe ; mkfifo FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe >> ../files/FastBuildings_FastBuildings.Input.SIM_ArtificialInput.sim & ./FastBuildings_FastBuildings.Input.SIM_ArtificialInput -abortSlowSimulation -alarm=480 -lv LOG_STATS > FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.554930352605879] Failed to read output from testmodel.py, exit status != 0: 0.16540819965302944 0.18806604899999996 0.047514171 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f13a39597b0>