Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.TwoZone_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.001368/0.001368, allocations: 80.3 kB / 19.18 MB, free: 2.52 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.001967/0.001967, allocations: 161 kB / 22.45 MB, free: 5.375 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.662/1.662, allocations: 177.1 MB / 202.8 MB, free: 9.168 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.02461/0.02461, allocations: 3.567 MB / 262.8 MB, free: 13.25 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.TwoZone_ArtificialInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs") translateModel(FastBuildings.Examples.TwoZone_ArtificialInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 387.3 MB, free: 15.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.032e-05/3.183e-05, allocations: 5.656 kB / 387.3 MB, free: 15.11 MB / 318.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.TwoZone_ArtificialInputs): time 0.006021/0.006053, allocations: 3.655 MB / 391 MB, free: 11.44 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00261/0.008663, allocations: 0.9659 MB / 392 MB, free: 10.46 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002478/0.008911, allocations: 12 kB / 392 MB, free: 10.45 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002441/0.009155, allocations: 87.16 kB / 392.1 MB, free: 10.37 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003467/0.009501, allocations: 178.3 kB / 392.2 MB, free: 10.19 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005373/0.01004, allocations: 195.7 kB / 392.4 MB, free: 10 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009123/0.01095, allocations: 0.7868 MB / 393.2 MB, free: 9.211 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00063/0.01158, allocations: 328.8 kB / 393.5 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006954/0.01228, allocations: 451.1 kB / 394 MB, free: 8.434 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003831/0.01266, allocations: 219.4 kB / 394.2 MB, free: 8.219 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001237/0.01278, allocations: 84 kB / 394.3 MB, free: 8.137 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001699/0.01295, allocations: 95.98 kB / 394.4 MB, free: 8.043 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.0131, allocations: 147.6 kB / 394.5 MB, free: 7.898 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002741/0.01337, allocations: 239.5 kB / 394.7 MB, free: 7.664 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000994/0.01437, allocations: 0.8648 MB / 395.6 MB, free: 6.797 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.01437, allocations: 4 kB / 395.6 MB, free: 6.793 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01437, allocations: 0 / 395.6 MB, free: 6.793 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.285e-06/0.01438, allocations: 0 / 395.6 MB, free: 6.793 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001727/0.01611, allocations: 0.8349 MB / 396.5 MB, free: 5.922 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.01615, allocations: 12.03 kB / 396.5 MB, free: 5.91 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003914/0.01654, allocations: 88.53 kB / 396.6 MB, free: 5.824 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005382/0.01708, allocations: 341.4 kB / 396.9 MB, free: 5.461 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.877e-05/0.01712, allocations: 37.36 kB / 396.9 MB, free: 5.422 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.91e-05/0.01722, allocations: 48.38 kB / 397 MB, free: 5.375 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/0.01836, allocations: 0.5892 MB / 397.6 MB, free: 4.773 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.01838, allocations: 192 / 397.6 MB, free: 4.773 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.154e-05/0.01843, allocations: 20.38 kB / 397.6 MB, free: 4.754 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.828e-05/0.01845, allocations: 15.94 kB / 397.6 MB, free: 4.738 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.0195, allocations: 471.6 kB / 398.1 MB, free: 4.277 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00257/0.02207, allocations: 1.481 MB / 399.5 MB, free: 2.758 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008579/0.02293, allocations: 393.7 kB / 399.9 MB, free: 2.355 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005391/0.02347, allocations: 266.1 kB / 400.2 MB, free: 2.09 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.573e-05/0.0235, allocations: 4.281 kB / 400.2 MB, free: 2.086 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006545/0.02416, allocations: 320.8 kB / 400.5 MB, free: 1.754 MB / 318.1 MB Notification: Performance of pre-optimization done (n=38): time 2.044e-06/0.02416, allocations: 0 / 400.5 MB, free: 1.754 MB / 318.1 MB Notification: Performance of matching and sorting (n=38): time 0.00166/0.02582, allocations: 0.6635 MB / 401.2 MB, free: 1.086 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.457e-05/0.02588, allocations: 81.11 kB / 401.2 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003899/0.02627, allocations: 320.5 kB / 401.6 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.672e-05/0.02633, allocations: 37.7 kB / 401.6 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002262/0.02656, allocations: 260.4 kB / 401.8 MB, free: 372 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001556/0.02671, allocations: 142.8 kB / 402 MB, free: 228 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001537/0.02687, allocations: 74.19 kB / 402.1 MB, free: 148 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002258/0.02709, allocations: 350.8 kB / 402.4 MB, free: 15.79 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005211/0.02761, allocations: 230.6 kB / 402.6 MB, free: 15.56 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000586/0.0282, allocations: 301.8 kB / 402.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.02926, allocations: 0.4982 MB / 403.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.02926, allocations: 0 / 403.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001314/0.03058, allocations: 0.6307 MB / 404 MB, free: 14.06 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.642e-05/0.03062, allocations: 37.7 kB / 404.1 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.03063, allocations: 4 kB / 404.1 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.03065, allocations: 0 / 404.1 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006063/0.03126, allocations: 128 kB / 404.2 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.03127, allocations: 8 kB / 404.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003208/0.03159, allocations: 47.7 kB / 404.3 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-05/0.03163, allocations: 16 kB / 404.3 MB, free: 13.82 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (51): * Single equations (assignments): 50 * 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.000282/0.03191, allocations: 217.6 kB / 404.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.063e-05/0.03199, allocations: 43.7 kB / 404.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009869/0.03298, allocations: 461.3 kB / 405 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.03299, allocations: 4 kB / 405 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.03299, allocations: 0 / 405 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.033, allocations: 3.984 kB / 405 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006109/0.03361, allocations: 436.9 kB / 405.4 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.03361, allocations: 0 / 405.4 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006072/0.03422, allocations: 111.9 kB / 405.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.03422, allocations: 0 / 405.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.128e-05/0.03426, allocations: 15.92 kB / 405.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.03427, allocations: 4 kB / 405.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.03427, allocations: 7.938 kB / 405.6 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00166/0.03593, allocations: 0.7794 MB / 406.3 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.327e-05/0.03601, allocations: 43.75 kB / 406.4 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.278e-05/0.03607, allocations: 11.94 kB / 406.4 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002546/0.03633, allocations: 27.97 kB / 406.4 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.03644, allocations: 36.12 kB / 406.5 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.225e-05/0.03647, allocations: 16 kB / 406.5 MB, free: 11.56 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002634/0.03674, allocations: 227.1 kB / 406.7 MB, free: 11.34 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.03674, allocations: 0 / 406.7 MB, free: 11.34 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004274/0.03716, allocations: 135.7 kB / 406.8 MB, free: 11.21 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (bui.zon1.capZon.heaPor.T,bui.zon1.capWal.heaPor.T,bui.zon1.capInt.heaPor.T,bui.zon2.capZon.heaPor.T,bui.bou.capWal.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 (38): * Single equations (assignments): 36 * 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.000151/0.03731, allocations: 111.1 kB / 406.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001129/0.03844, allocations: 0.536 MB / 407.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.03844, allocations: 0 / 407.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005194/0.03896, allocations: 227.8 kB / 407.7 MB, free: 10.31 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004097/0.03937, allocations: 61.58 kB / 407.8 MB, free: 10.25 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002073/0.04145, allocations: 1.076 MB / 408.8 MB, free: 9.141 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.04175, allocations: 263.9 kB / 409.1 MB, free: 8.859 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002037/0.04195, allocations: 54.94 kB / 409.1 MB, free: 8.805 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.04208, allocations: 32.48 kB / 409.2 MB, free: 8.77 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.04208, allocations: 0 / 409.2 MB, free: 8.77 MB / 334.1 MB Notification: Performance of Templates: time 0.01032/0.0524, allocations: 4.221 MB / 413.4 MB, free: 4.609 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.makefile [Timeout 660] (rm -f FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe ; mkfifo FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe >> ../files/FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.sim & ./FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs -abortSlowSimulation -alarm=480 -lv LOG_STATS > FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.650998026132584] Failed to read output from testmodel.py, exit status != 0: 0.06190693378448486 0.075889341 0.058454139 Calling exit ...