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.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.00143/0.00143, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.001599/0.001599, allocations: 156 kB / 23.01 MB, free: 4.605 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.495/1.495, allocations: 177.2 MB / 203.4 MB, free: 8.977 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.03385/0.03385, allocations: 3.571 MB / 263.4 MB, free: 13.23 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.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: 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.002207/0.002207, allocations: 71.84 kB / 387.8 MB, free: 384 kB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1187, allocations: 54.46 MB / 442.3 MB, free: 9.812 MB / 414.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_ArtificialInput): time 0.003023/0.1218, allocations: 1.67 MB / 444 MB, free: 8.129 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.123, allocations: 0.5143 MB / 444.5 MB, free: 7.609 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.1231, allocations: 0 / 444.5 MB, free: 7.609 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001212/0.1232, allocations: 15.86 kB / 444.5 MB, free: 7.594 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.1233, allocations: 27.73 kB / 444.5 MB, free: 7.566 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003914/0.1237, allocations: 59.86 kB / 444.6 MB, free: 7.508 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002886/0.124, allocations: 119.6 kB / 444.7 MB, free: 7.391 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002105/0.1242, allocations: 29.28 kB / 444.7 MB, free: 7.359 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002554/0.1244, allocations: 63.7 kB / 444.8 MB, free: 7.297 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.1246, allocations: 55.77 kB / 444.9 MB, free: 7.242 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.207e-05/0.1246, allocations: 8 kB / 444.9 MB, free: 7.234 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.549e-05/0.1247, allocations: 15.94 kB / 444.9 MB, free: 7.219 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.98e-05/0.1248, allocations: 27.91 kB / 444.9 MB, free: 7.191 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.586e-05/0.1249, allocations: 43.73 kB / 444.9 MB, free: 7.148 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000238/0.1251, allocations: 115.4 kB / 445.1 MB, free: 7.035 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1251, allocations: 0 / 445.1 MB, free: 7.035 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1251, allocations: 0 / 445.1 MB, free: 7.035 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.1251, allocations: 0 / 445.1 MB, free: 7.035 MB / 414.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.000894/0.126, allocations: 391.4 kB / 445.4 MB, free: 6.617 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.126, allocations: 16.02 kB / 445.5 MB, free: 6.602 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002698/0.1263, allocations: 32.83 kB / 445.5 MB, free: 6.57 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000254/0.1266, allocations: 146.3 kB / 445.6 MB, free: 6.402 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.1266, allocations: 8.375 kB / 445.6 MB, free: 6.395 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.728e-05/0.1266, allocations: 12.38 kB / 445.7 MB, free: 6.383 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004201/0.127, allocations: 162.1 kB / 445.8 MB, free: 6.203 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.1271, allocations: 0 / 445.8 MB, free: 6.203 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/0.1271, allocations: 4 kB / 445.8 MB, free: 6.199 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.1271, allocations: 4 kB / 445.8 MB, free: 6.195 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004151/0.1275, allocations: 123.8 kB / 445.9 MB, free: 6.074 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009473/0.1284, allocations: 0.6376 MB / 446.6 MB, free: 5.391 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004391/0.1289, allocations: 173 kB / 446.7 MB, free: 5.176 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000241/0.1291, allocations: 80.33 kB / 446.8 MB, free: 5.082 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.1291, allocations: 7.938 kB / 446.8 MB, free: 5.074 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003757/0.1295, allocations: 159.5 kB / 447 MB, free: 4.891 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.1295, allocations: 4 kB / 447 MB, free: 4.887 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007753/0.1303, allocations: 233.3 kB / 447.2 MB, free: 4.652 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.429e-05/0.1304, allocations: 154.7 kB / 447.4 MB, free: 4.465 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.1306, allocations: 170.2 kB / 447.5 MB, free: 4.289 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.1306, allocations: 29.7 kB / 447.6 MB, free: 4.254 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.1307, allocations: 116.2 kB / 447.7 MB, free: 4.133 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.904e-05/0.1307, allocations: 23.8 kB / 447.7 MB, free: 4.109 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.907e-05/0.1308, allocations: 29.7 kB / 447.7 MB, free: 4.074 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.1309, allocations: 322.8 kB / 448.1 MB, free: 3.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002382/0.1312, allocations: 93.52 kB / 448.1 MB, free: 3.652 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002416/0.1314, allocations: 125.9 kB / 448.3 MB, free: 3.508 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004369/0.1319, allocations: 181.8 kB / 448.4 MB, free: 3.309 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1319, allocations: 0 / 448.4 MB, free: 3.309 MB / 414.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006074/0.1325, allocations: 248.7 kB / 448.7 MB, free: 3.047 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.186e-05/0.1325, allocations: 41.69 kB / 448.7 MB, free: 3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1325, allocations: 0 / 448.7 MB, free: 3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.1326, allocations: 4 kB / 448.7 MB, free: 2.996 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.1327, allocations: 23.97 kB / 448.8 MB, free: 2.973 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.577e-06/0.1327, allocations: 4.125 kB / 448.8 MB, free: 2.969 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.1329, allocations: 23.92 kB / 448.8 MB, free: 2.945 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/0.1329, allocations: 7.984 kB / 448.8 MB, free: 2.938 MB / 414.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.0001353/0.1331, allocations: 125.8 kB / 448.9 MB, free: 2.805 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.347e-05/0.1331, allocations: 19.89 kB / 448.9 MB, free: 2.785 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002284/0.1333, allocations: 86 kB / 449 MB, free: 2.695 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.1333, allocations: 0 / 449 MB, free: 2.695 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.545e-06/0.1333, allocations: 4 kB / 449 MB, free: 2.691 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.1333, allocations: 11.95 kB / 449 MB, free: 2.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002891/0.1336, allocations: 258.2 kB / 449.3 MB, free: 2.391 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.1336, allocations: 4 kB / 449.3 MB, free: 2.387 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/0.1338, allocations: 23.97 kB / 449.3 MB, free: 2.363 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.1338, allocations: 0 / 449.3 MB, free: 2.363 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.1338, allocations: 4 kB / 449.3 MB, free: 2.359 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.1338, allocations: 3.938 kB / 449.3 MB, free: 2.355 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.1338, allocations: 4 kB / 449.3 MB, free: 2.352 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005939/0.1344, allocations: 294.7 kB / 449.6 MB, free: 2.035 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.226e-05/0.1344, allocations: 11.89 kB / 449.6 MB, free: 2.023 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.1344, allocations: 8 kB / 449.6 MB, free: 2.016 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.1346, allocations: 23.91 kB / 449.7 MB, free: 1.992 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.279e-05/0.1347, allocations: 15.97 kB / 449.7 MB, free: 1.977 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.1347, allocations: 7.938 kB / 449.7 MB, free: 1.969 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.919e-05/0.1348, allocations: 119.2 kB / 449.8 MB, free: 1.852 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1348, allocations: 4 kB / 449.8 MB, free: 1.848 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002787/0.1351, allocations: 23.95 kB / 449.8 MB, free: 1.824 MB / 414.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.0001203/0.1352, allocations: 95.25 kB / 449.9 MB, free: 1.719 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007375/0.1359, allocations: 224.9 kB / 450.1 MB, free: 1.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.136, allocations: 256 / 450.1 MB, free: 1.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003379/0.1363, allocations: 83.86 kB / 450.2 MB, free: 1.398 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004549/0.1367, allocations: 20.44 kB / 450.2 MB, free: 1.379 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008086/0.1376, allocations: 291 kB / 450.5 MB, free: 1.055 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/0.1377, allocations: 105.5 kB / 450.6 MB, free: 0.9336 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.89e-05/0.1377, allocations: 12.72 kB / 450.6 MB, free: 0.918 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.263e-05/0.1378, allocations: 16.5 kB / 450.6 MB, free: 0.9023 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1378, allocations: 0 / 450.6 MB, free: 0.9023 MB / 414.1 MB Notification: Performance of Templates: time 0.004488/0.1423, allocations: 1.384 MB / 452 MB, free: 15.53 MB / 430.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 -s ida -lv LOG_STATS > FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.43487717199605] Failed to read output from testmodel.py, exit status != 0: 0.15132202696986496 0.165674299 0.037320454 Calling exit ...