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.00199/0.00199, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002565/0.002565, allocations: 214.5 kB / 22.24 MB, free: 5.262 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.635/1.635, allocations: 230.6 MB / 256 MB, free: 7.789 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.03501/0.03501, allocations: 4.706 MB / 317.1 MB, free: 14.3 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.002387/0.002387, allocations: 67.89 kB / 441.6 MB, free: 8.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1173, allocations: 54.49 MB / 496.1 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_ArtificialInput): time 0.003881/0.1212, allocations: 1.672 MB / 497.8 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001391/0.1226, allocations: 0.522 MB / 498.3 MB, free: 72 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.1227, allocations: 0 / 498.3 MB, free: 72 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001682/0.1229, allocations: 15.8 kB / 498.3 MB, free: 56 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001194/0.123, allocations: 23.78 kB / 498.4 MB, free: 32 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004181/0.1234, allocations: 68 kB / 498.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002982/0.1237, allocations: 119.6 kB / 498.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.1239, allocations: 29.28 kB / 498.6 MB, free: 15.81 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002813/0.1242, allocations: 59.77 kB / 498.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.1243, allocations: 55.7 kB / 498.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.486e-05/0.1244, allocations: 12 kB / 498.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.974e-05/0.1244, allocations: 8 kB / 498.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.462e-05/0.1245, allocations: 19.92 kB / 498.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.1246, allocations: 47.72 kB / 498.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002523/0.1248, allocations: 107.4 kB / 498.9 MB, free: 15.51 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1248, allocations: 4 kB / 498.9 MB, free: 15.51 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1248, allocations: 7.938 kB / 498.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.1249, allocations: 0 / 498.9 MB, free: 15.5 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001011/0.1259, allocations: 395.4 kB / 499.3 MB, free: 15.08 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.1259, allocations: 12.02 kB / 499.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002684/0.1262, allocations: 32.83 kB / 499.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003013/0.1265, allocations: 160.5 kB / 499.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.1265, allocations: 4.375 kB / 499.5 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.782e-05/0.1265, allocations: 8.375 kB / 499.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004624/0.127, allocations: 164.4 kB / 499.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.127, allocations: 7.938 kB / 499.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.127, allocations: 0 / 499.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.127, allocations: 3.984 kB / 499.7 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004119/0.1274, allocations: 123.8 kB / 499.8 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/0.1285, allocations: 0.6221 MB / 0.4887 GB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004481/0.1289, allocations: 169 kB / 0.4888 GB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002419/0.1292, allocations: 92.27 kB / 0.4889 GB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/0.1292, allocations: 4 kB / 0.4889 GB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003905/0.1296, allocations: 151.5 kB / 0.4891 GB, free: 13.37 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 4.989e-06/0.1296, allocations: 3.938 kB / 0.4891 GB, free: 13.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008259/0.1304, allocations: 233.3 kB / 0.4893 GB, free: 13.13 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/0.1305, allocations: 166.2 kB / 0.4895 GB, free: 12.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001955/0.1307, allocations: 163.9 kB / 0.4896 GB, free: 12.76 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.22e-05/0.1308, allocations: 25.7 kB / 0.4896 GB, free: 12.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.1309, allocations: 112.8 kB / 0.4897 GB, free: 12.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.824e-05/0.1309, allocations: 31.81 kB / 0.4898 GB, free: 12.58 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.313e-05/0.131, allocations: 29.7 kB / 0.4898 GB, free: 12.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.1312, allocations: 322.8 kB / 0.4901 GB, free: 12.22 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002429/0.1314, allocations: 85.64 kB / 0.4902 GB, free: 12.13 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002625/0.1317, allocations: 125.9 kB / 0.4903 GB, free: 11.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004335/0.1321, allocations: 177.8 kB / 0.4905 GB, free: 11.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.1321, allocations: 0 / 0.4905 GB, free: 11.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005862/0.1327, allocations: 252.9 kB / 0.4907 GB, free: 11.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.116e-05/0.1327, allocations: 33.7 kB / 0.4908 GB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/0.1327, allocations: 4 kB / 0.4908 GB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.1328, allocations: 4 kB / 0.4908 GB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.1329, allocations: 23.97 kB / 0.4908 GB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.958e-06/0.1329, allocations: 4 kB / 0.4908 GB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.1331, allocations: 23.86 kB / 0.4908 GB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.179e-05/0.1331, allocations: 19.98 kB / 0.4908 GB, free: 11.41 MB / 366.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.000166/0.1333, allocations: 118.7 kB / 0.4909 GB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.082e-05/0.1333, allocations: 19.89 kB / 0.491 GB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002368/0.1336, allocations: 86 kB / 0.491 GB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1336, allocations: 192 / 0.491 GB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.1336, allocations: 3.984 kB / 0.491 GB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.1336, allocations: 11.92 kB / 0.4911 GB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002874/0.1339, allocations: 258.2 kB / 0.4913 GB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/0.1339, allocations: 64 / 0.4913 GB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.134, allocations: 31.97 kB / 0.4913 GB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.134, allocations: 0 / 0.4913 GB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.134, allocations: 0 / 0.4913 GB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.134, allocations: 11.88 kB / 0.4913 GB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.134, allocations: 0 / 0.4913 GB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005753/0.1346, allocations: 298.7 kB / 0.4916 GB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.672e-05/0.1346, allocations: 7.953 kB / 0.4916 GB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.589e-05/0.1347, allocations: 8.094 kB / 0.4916 GB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.1348, allocations: 23.84 kB / 0.4917 GB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.026e-05/0.1349, allocations: 19.97 kB / 0.4917 GB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.1349, allocations: 4 kB / 0.4917 GB, free: 10.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001128/0.1351, allocations: 123.2 kB / 0.4918 GB, free: 10.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1351, allocations: 0 / 0.4918 GB, free: 10.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003009/0.1354, allocations: 27.88 kB / 0.4918 GB, free: 10.29 MB / 366.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.0001223/0.1355, allocations: 103.2 kB / 0.4919 GB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005827/0.1361, allocations: 224.9 kB / 0.4922 GB, free: 9.945 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1361, allocations: 0 / 0.4922 GB, free: 9.945 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002691/0.1363, allocations: 84.23 kB / 0.4922 GB, free: 9.863 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.1367, allocations: 12 kB / 0.4922 GB, free: 9.852 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007281/0.1374, allocations: 283.1 kB / 0.4925 GB, free: 9.535 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.1375, allocations: 97.17 kB / 0.4926 GB, free: 9.418 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.095e-05/0.1376, allocations: 20.78 kB / 0.4926 GB, free: 9.398 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.479e-05/0.1377, allocations: 19.42 kB / 0.4926 GB, free: 9.379 MB / 366.1 MB Notification: Performance of SimCode: time 1.312e-06/0.1377, allocations: 0 / 0.4926 GB, free: 9.379 MB / 366.1 MB Notification: Performance of Templates: time 0.005277/0.143, allocations: 1.48 MB / 0.4941 GB, free: 7.918 MB / 366.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: 5.049461081624031] Failed to read output from testmodel.py, exit status != 0: 0.15214463882148266 0.17241164199999995 0.043682011 Calling exit ...