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.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.001899/0.001899, allocations: 79.75 kB / 19.76 MB, free: 2.02 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.002414/0.002414, allocations: 151.9 kB / 23 MB, free: 4.953 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.477/1.477, allocations: 177.2 MB / 203.4 MB, free: 8.965 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.02385/0.02385, allocations: 3.572 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_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: 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.002102/0.002102, allocations: 75.88 kB / 387.9 MB, free: 336 kB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1097, allocations: 54.46 MB / 442.3 MB, free: 9.773 MB / 414.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_ArtificialInputs): time 0.004312/0.1141, allocations: 2.721 MB / 445.1 MB, free: 7.035 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001402/0.1155, allocations: 0.7324 MB / 445.8 MB, free: 6.297 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.1156, allocations: 7.938 kB / 445.8 MB, free: 6.289 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001574/0.1158, allocations: 43.52 kB / 445.8 MB, free: 6.246 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001845/0.1159, allocations: 91.2 kB / 445.9 MB, free: 6.156 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004001/0.1163, allocations: 131.8 kB / 446.1 MB, free: 6.027 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005061/0.1168, allocations: 410.5 kB / 446.5 MB, free: 5.625 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003114/0.1172, allocations: 154.4 kB / 446.6 MB, free: 5.477 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002784/0.1174, allocations: 159.5 kB / 446.8 MB, free: 5.32 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002406/0.1177, allocations: 143.3 kB / 446.9 MB, free: 5.18 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.359e-05/0.1177, allocations: 48 kB / 447 MB, free: 5.133 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.794e-05/0.1178, allocations: 48 kB / 447 MB, free: 5.086 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.594e-05/0.1179, allocations: 71.83 kB / 447.1 MB, free: 5.016 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001782/0.1181, allocations: 143.4 kB / 447.2 MB, free: 4.875 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005332/0.1186, allocations: 450.4 kB / 447.6 MB, free: 4.434 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1186, allocations: 0 / 447.6 MB, free: 4.434 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1186, allocations: 3.938 kB / 447.7 MB, free: 4.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1186, allocations: 0 / 447.7 MB, free: 4.43 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001236/0.1199, allocations: 0.5814 MB / 448.2 MB, free: 3.812 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.1199, allocations: 8.031 kB / 448.2 MB, free: 3.805 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002813/0.1202, allocations: 52.72 kB / 448.3 MB, free: 3.754 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003621/0.1206, allocations: 229.9 kB / 448.5 MB, free: 3.504 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.1206, allocations: 16.88 kB / 448.5 MB, free: 3.488 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.304e-05/0.1206, allocations: 28.38 kB / 448.6 MB, free: 3.461 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006919/0.1213, allocations: 335 kB / 448.9 MB, free: 3.121 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.1213, allocations: 0 / 448.9 MB, free: 3.121 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.781e-05/0.1214, allocations: 8 kB / 448.9 MB, free: 3.113 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.1214, allocations: 8 kB / 448.9 MB, free: 3.105 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007078/0.1221, allocations: 281.7 kB / 449.2 MB, free: 2.828 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001465/0.1236, allocations: 0.8197 MB / 450 MB, free: 1.973 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007974/0.1244, allocations: 286.3 kB / 450.3 MB, free: 1.688 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000356/0.1247, allocations: 148.7 kB / 450.4 MB, free: 1.539 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.1247, allocations: 0 / 450.4 MB, free: 1.539 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004476/0.1252, allocations: 195.2 kB / 450.6 MB, free: 1.336 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 1.493e-06/0.1252, allocations: 4 kB / 450.6 MB, free: 1.332 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001081/0.1263, allocations: 412.2 kB / 451 MB, free: 0.9258 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.1263, allocations: 63.34 kB / 451.1 MB, free: 0.8516 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.1266, allocations: 224.1 kB / 451.3 MB, free: 0.6172 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.1266, allocations: 25.7 kB / 451.3 MB, free: 0.5859 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.1267, allocations: 176.6 kB / 451.5 MB, free: 420 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.39e-05/0.1268, allocations: 79.33 kB / 451.6 MB, free: 340 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.1269, allocations: 53.69 kB / 451.6 MB, free: 280 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.1271, allocations: 326.8 kB / 451.9 MB, free: 15.95 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003608/0.1274, allocations: 157.6 kB / 452.1 MB, free: 15.79 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003765/0.1278, allocations: 193 kB / 452.3 MB, free: 15.58 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006905/0.1285, allocations: 305.9 kB / 452.6 MB, free: 15.26 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1285, allocations: 3.938 kB / 452.6 MB, free: 15.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008608/0.1294, allocations: 427.8 kB / 453 MB, free: 14.82 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.867e-05/0.1294, allocations: 37.58 kB / 453 MB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.1294, allocations: 0 / 453 MB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.1294, allocations: 7.984 kB / 453.1 MB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003482/0.1298, allocations: 67.89 kB / 453.1 MB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.1298, allocations: 0 / 453.1 MB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/0.13, allocations: 39.8 kB / 453.2 MB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.705e-05/0.13, allocations: 12.06 kB / 453.2 MB, free: 14.65 MB / 430.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.0001853/0.1302, allocations: 165.7 kB / 453.3 MB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.132e-05/0.1303, allocations: 27.8 kB / 453.4 MB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008095/0.1311, allocations: 323.4 kB / 453.7 MB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.1311, allocations: 4 kB / 453.7 MB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1311, allocations: 0 / 453.7 MB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.1311, allocations: 3.984 kB / 453.7 MB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003472/0.1314, allocations: 277.1 kB / 454 MB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1314, allocations: 0 / 454 MB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003578/0.1318, allocations: 59.89 kB / 454 MB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.1318, allocations: 0 / 454 MB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/0.1318, allocations: 4 kB / 454 MB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.1318, allocations: 3.938 kB / 454 MB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1318, allocations: 0 / 454 MB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.133, allocations: 0.4889 MB / 454.5 MB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.059e-05/0.133, allocations: 23.88 kB / 454.5 MB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.719e-05/0.133, allocations: 4 kB / 454.5 MB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/0.1332, allocations: 27.86 kB / 454.6 MB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.601e-05/0.1333, allocations: 23.95 kB / 454.6 MB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.079e-05/0.1333, allocations: 8 kB / 454.6 MB, free: 13.17 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001624/0.1335, allocations: 165.7 kB / 454.8 MB, free: 13.01 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1335, allocations: 4 kB / 454.8 MB, free: 13 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003014/0.1338, allocations: 71.78 kB / 454.8 MB, free: 12.93 MB / 430.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.0001232/0.1339, allocations: 99.25 kB / 454.9 MB, free: 12.82 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008132/0.1347, allocations: 375.9 kB / 455.3 MB, free: 12.44 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1347, allocations: 192 / 455.3 MB, free: 12.44 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003436/0.1351, allocations: 139.8 kB / 455.4 MB, free: 12.3 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.1354, allocations: 40.42 kB / 455.5 MB, free: 12.27 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.1366, allocations: 0.6497 MB / 456.1 MB, free: 11.58 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001797/0.1368, allocations: 166.5 kB / 456.3 MB, free: 11.4 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001291/0.137, allocations: 29.62 kB / 456.3 MB, free: 11.37 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.835e-05/0.137, allocations: 24.5 kB / 456.3 MB, free: 11.35 MB / 430.1 MB Notification: Performance of SimCode: time 5.61e-07/0.137, allocations: 0 / 456.3 MB, free: 11.35 MB / 430.1 MB Notification: Performance of Templates: time 0.00689/0.1439, allocations: 2.7 MB / 459 MB, free: 8.68 MB / 430.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 -s ida -lv LOG_STATS > FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.521429938962683] Failed to read output from testmodel.py, exit status != 0: 0.1527440680656582 0.167268849 0.045484865000000006 Calling exit ...