Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.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.002246/0.002246, 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.003551/0.003551, allocations: 192.6 kB / 22.23 MB, free: 5.156 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.474/1.474, allocations: 225.6 MB / 251 MB, free: 13.01 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.02532/0.02532, allocations: 4.709 MB / 311 MB, free: 4.051 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.Examples.SingleZone_ArtificialInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs") translateModel(FastBuildings.Examples.SingleZone_ArtificialInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 63.89 kB / 433.2 MB, free: 18.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.108, allocations: 53.31 MB / 486.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_ArtificialInputs): time 0.004321/0.1123, allocations: 2.899 MB / 489.4 MB, free: 9.871 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.1135, allocations: 0.6973 MB / 490.1 MB, free: 9.168 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.1137, allocations: 4 kB / 490.1 MB, free: 9.164 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001976/0.1139, allocations: 51.5 kB / 490.2 MB, free: 9.113 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001919/0.1141, allocations: 83.22 kB / 490.3 MB, free: 9.031 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003622/0.1144, allocations: 111.8 kB / 490.4 MB, free: 8.922 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005112/0.1149, allocations: 410.5 kB / 490.8 MB, free: 8.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003578/0.1153, allocations: 162.4 kB / 490.9 MB, free: 8.363 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002477/0.1155, allocations: 159.5 kB / 491.1 MB, free: 8.207 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002335/0.1158, allocations: 155.4 kB / 491.2 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.256e-05/0.1159, allocations: 44 kB / 491.3 MB, free: 8.012 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.914e-05/0.1159, allocations: 43.94 kB / 491.3 MB, free: 7.969 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.968e-05/0.116, allocations: 87.75 kB / 491.4 MB, free: 7.883 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002056/0.1162, allocations: 167.3 kB / 491.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005546/0.1168, allocations: 434.5 kB / 492 MB, free: 7.293 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.1168, allocations: 4 kB / 492 MB, free: 7.289 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1168, allocations: 4 kB / 492 MB, free: 7.285 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.1168, allocations: 0 / 492 MB, free: 7.285 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001361/0.1182, allocations: 0.5658 MB / 492.6 MB, free: 6.684 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.1182, allocations: 8.031 kB / 492.6 MB, free: 6.676 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.403e-05/0.1183, allocations: 36.75 kB / 492.6 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003495/0.1186, allocations: 219.1 kB / 492.8 MB, free: 6.398 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/0.1187, allocations: 20.86 kB / 492.9 MB, free: 6.379 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.343e-05/0.1187, allocations: 36.2 kB / 492.9 MB, free: 6.344 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000733/0.1195, allocations: 335 kB / 493.2 MB, free: 6.004 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.1195, allocations: 0 / 493.2 MB, free: 6.004 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.061e-05/0.1195, allocations: 8 kB / 493.2 MB, free: 5.996 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.1195, allocations: 8 kB / 493.2 MB, free: 5.988 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007101/0.1202, allocations: 277.8 kB / 493.5 MB, free: 5.715 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00167/0.1219, allocations: 1.002 MB / 494.5 MB, free: 4.652 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000825/0.1227, allocations: 286.6 kB / 494.8 MB, free: 4.363 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000353/0.1231, allocations: 144.8 kB / 494.9 MB, free: 4.219 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.1231, allocations: 0 / 494.9 MB, free: 4.219 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004735/0.1236, allocations: 203.9 kB / 495.1 MB, free: 4.008 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.603e-06/0.1236, allocations: 0 / 495.1 MB, free: 4.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001141/0.1247, allocations: 423.8 kB / 495.5 MB, free: 3.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.1248, allocations: 59.41 kB / 495.6 MB, free: 3.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002472/0.125, allocations: 225 kB / 495.8 MB, free: 3.289 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.369e-05/0.125, allocations: 29.7 kB / 495.9 MB, free: 3.254 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.1252, allocations: 176.3 kB / 496 MB, free: 3.078 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.351e-05/0.1253, allocations: 71.39 kB / 496.1 MB, free: 3.008 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.1254, allocations: 53.69 kB / 496.1 MB, free: 2.949 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.1255, allocations: 326.8 kB / 496.5 MB, free: 2.621 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003511/0.1259, allocations: 135.9 kB / 496.6 MB, free: 2.488 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003494/0.1262, allocations: 159.3 kB / 496.8 MB, free: 2.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006936/0.1269, allocations: 309.9 kB / 497.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.1269, allocations: 0 / 497.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008584/0.1278, allocations: 390 kB / 497.4 MB, free: 1.605 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.909e-05/0.1278, allocations: 39.72 kB / 497.5 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.1278, allocations: 0 / 497.5 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.1279, allocations: 11.88 kB / 497.5 MB, free: 1.551 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000357/0.1282, allocations: 67.89 kB / 497.6 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.1282, allocations: 0 / 497.6 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002512/0.1285, allocations: 39.77 kB / 497.6 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.643e-05/0.1285, allocations: 7.984 kB / 497.6 MB, free: 1.438 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (29): * Single equations (assignments): 28 * 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.000192/0.1287, allocations: 169.8 kB / 497.8 MB, free: 1.262 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.295e-05/0.1287, allocations: 27.78 kB / 497.8 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008126/0.1295, allocations: 323.7 kB / 498.1 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.1296, allocations: 4 kB / 498.1 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.1296, allocations: 0 / 498.1 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.1296, allocations: 8 kB / 498.1 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004813/0.13, allocations: 364.4 kB / 498.5 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.13, allocations: 0 / 498.5 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000341/0.1304, allocations: 55.89 kB / 498.5 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.1304, allocations: 7.938 kB / 498.5 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.445e-05/0.1304, allocations: 4 kB / 498.5 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.1304, allocations: 3.984 kB / 498.5 MB, free: 440 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.1304, allocations: 4 kB / 498.6 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.1316, allocations: 495.3 kB / 499 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.495e-05/0.1316, allocations: 31.83 kB / 499.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.521e-05/0.1316, allocations: 8 kB / 499.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001987/0.1318, allocations: 20.03 kB / 499.1 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.564e-05/0.1319, allocations: 31.89 kB / 499.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/0.132, allocations: 4 kB / 499.1 MB, free: 15.83 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001828/0.1321, allocations: 172.5 kB / 499.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1321, allocations: 0 / 499.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003196/0.1325, allocations: 67.89 kB / 499.4 MB, free: 15.59 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (bui.zon.capZon.heaPor.T,bui.zon.capInt.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 (22): * Single equations (assignments): 20 * 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.0001305/0.1326, allocations: 99.19 kB / 499.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008155/0.1334, allocations: 351 kB / 499.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1334, allocations: 0 / 499.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003562/0.1338, allocations: 131.9 kB / 499.9 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.1341, allocations: 40.55 kB / 500 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.1354, allocations: 0.6478 MB / 0.4889 GB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004261/0.1358, allocations: 0.7786 MB / 0.4896 GB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001389/0.136, allocations: 37.56 kB / 0.4897 GB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.395e-05/0.136, allocations: 27.42 kB / 0.4897 GB, free: 13.43 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.136, allocations: 0 / 0.4897 GB, free: 13.43 MB / 366.1 MB Notification: Performance of Templates: time 0.007072/0.1431, allocations: 2.937 MB / 0.4926 GB, free: 10.52 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.makefile [Timeout 660] (rm -f FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.sim & ./FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs -abortSlowSimulation -alarm=480 -lv LOG_STATS > FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.745288395322859] Failed to read output from testmodel.py, exit status != 0: 0.15113512985408306 0.34264396900000005 0.22270625800000002 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f2aef79d7b0>