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.0008092/0.0008092, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008517/0.0008517, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8586/0.8586, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.01267/0.01267, allocations: 3.569 MB / 263.5 MB, free: 9.809 MB / 250.7 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.452e-06/1.452e-06, allocations: 0 / 388.1 MB, free: 9.383 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.99e-05/2.135e-05, allocations: 6.219 kB / 388.1 MB, free: 9.375 MB / 314.7 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.TwoZone_ArtificialInputs): time 0.003346/0.003367, allocations: 3.659 MB / 391.8 MB, free: 5.695 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.004588, allocations: 0.962 MB / 392.7 MB, free: 4.727 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00015/0.004738, allocations: 15.94 kB / 392.7 MB, free: 4.711 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001691/0.004907, allocations: 83.16 kB / 392.8 MB, free: 4.629 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001847/0.005092, allocations: 174.4 kB / 393 MB, free: 4.457 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003472/0.005439, allocations: 203.6 kB / 393.2 MB, free: 4.258 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004847/0.005924, allocations: 0.7789 MB / 394 MB, free: 3.477 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003703/0.006294, allocations: 340.8 kB / 394.3 MB, free: 3.129 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003651/0.006659, allocations: 447.2 kB / 394.7 MB, free: 2.691 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002026/0.006862, allocations: 223.4 kB / 395 MB, free: 2.473 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.238e-05/0.006924, allocations: 84 kB / 395 MB, free: 2.391 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.251e-05/0.007006, allocations: 88 kB / 395.1 MB, free: 2.305 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.481e-05/0.007081, allocations: 147.6 kB / 395.3 MB, free: 2.16 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001486/0.00723, allocations: 243.5 kB / 395.5 MB, free: 1.922 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005454/0.007775, allocations: 0.8648 MB / 396.4 MB, free: 1.055 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.007778, allocations: 0 / 396.4 MB, free: 1.055 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.007779, allocations: 4 kB / 396.4 MB, free: 1.051 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.007786, allocations: 0 / 396.4 MB, free: 1.051 MB / 314.7 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.0009312/0.008717, allocations: 0.8388 MB / 397.2 MB, free: 180 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.008748, allocations: 8.031 kB / 397.2 MB, free: 172 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004627/0.009211, allocations: 88.53 kB / 397.3 MB, free: 84 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003351/0.009546, allocations: 337.4 kB / 397.6 MB, free: 15.72 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.009571, allocations: 37.38 kB / 397.7 MB, free: 15.68 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.59e-05/0.009627, allocations: 48.38 kB / 397.7 MB, free: 15.64 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006459/0.01027, allocations: 0.5854 MB / 398.3 MB, free: 15.04 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.01028, allocations: 192 / 398.3 MB, free: 15.04 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.115e-05/0.01032, allocations: 20.38 kB / 398.3 MB, free: 15.02 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.01033, allocations: 19.92 kB / 398.3 MB, free: 15 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005571/0.01088, allocations: 471.6 kB / 398.8 MB, free: 14.54 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001396/0.01228, allocations: 1.488 MB / 400.3 MB, free: 13.01 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004516/0.01273, allocations: 401.6 kB / 400.7 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002876/0.01302, allocations: 261.5 kB / 400.9 MB, free: 12.35 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.01305, allocations: 4.281 kB / 400.9 MB, free: 12.34 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003507/0.0134, allocations: 317.5 kB / 401.3 MB, free: 12.02 MB / 330.7 MB Notification: Performance of pre-optimization done (n=38): time 1.223e-06/0.0134, allocations: 0 / 401.3 MB, free: 12.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=38): time 0.0008212/0.01422, allocations: 0.659 MB / 401.9 MB, free: 11.35 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.01426, allocations: 81.11 kB / 402 MB, free: 11.25 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002108/0.01447, allocations: 320.5 kB / 402.3 MB, free: 10.93 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.01449, allocations: 37.64 kB / 402.3 MB, free: 10.89 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.01461, allocations: 264.4 kB / 402.6 MB, free: 10.62 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.404e-05/0.01468, allocations: 138.8 kB / 402.7 MB, free: 10.49 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.771e-05/0.01477, allocations: 70.2 kB / 402.8 MB, free: 10.41 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.674e-05/0.01486, allocations: 350.8 kB / 403.1 MB, free: 10.06 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002612/0.01512, allocations: 230.6 kB / 403.4 MB, free: 9.828 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002796/0.0154, allocations: 305.8 kB / 403.7 MB, free: 9.5 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005218/0.01592, allocations: 0.506 MB / 404.2 MB, free: 8.965 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01592, allocations: 0 / 404.2 MB, free: 8.965 MB / 330.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009055/0.01683, allocations: 0.6268 MB / 404.8 MB, free: 8.32 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.881e-05/0.01686, allocations: 29.7 kB / 404.8 MB, free: 8.285 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.01686, allocations: 4 kB / 404.8 MB, free: 8.281 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.01687, allocations: 4 kB / 404.8 MB, free: 8.277 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000294/0.01717, allocations: 127.9 kB / 405 MB, free: 8.152 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.01718, allocations: 8.172 kB / 405 MB, free: 8.145 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.01731, allocations: 55.72 kB / 405 MB, free: 8.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/0.01733, allocations: 15.98 kB / 405 MB, free: 8.074 MB / 330.7 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.0001554/0.01749, allocations: 218.5 kB / 405.3 MB, free: 7.852 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.494e-05/0.01752, allocations: 39.7 kB / 405.3 MB, free: 7.812 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005155/0.01804, allocations: 457.2 kB / 405.7 MB, free: 7.359 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.01804, allocations: 8 kB / 405.7 MB, free: 7.352 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.01805, allocations: 3.938 kB / 405.8 MB, free: 7.348 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.01805, allocations: 0 / 405.8 MB, free: 7.348 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003218/0.01837, allocations: 444.8 kB / 406.2 MB, free: 6.883 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.01838, allocations: 4 kB / 406.2 MB, free: 6.879 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002793/0.01865, allocations: 107.9 kB / 406.3 MB, free: 6.773 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.01866, allocations: 4 kB / 406.3 MB, free: 6.77 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.01868, allocations: 19.92 kB / 406.3 MB, free: 6.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.01869, allocations: 0 / 406.3 MB, free: 6.75 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01869, allocations: 0 / 406.3 MB, free: 6.75 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008509/0.01954, allocations: 0.7871 MB / 407.1 MB, free: 5.941 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.576e-05/0.01957, allocations: 35.77 kB / 407.1 MB, free: 5.906 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.564e-05/0.01961, allocations: 23.86 kB / 407.2 MB, free: 5.883 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.01972, allocations: 27.98 kB / 407.2 MB, free: 5.855 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.337e-05/0.01978, allocations: 31.94 kB / 407.2 MB, free: 5.824 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.737e-05/0.0198, allocations: 11.98 kB / 407.2 MB, free: 5.812 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001407/0.01994, allocations: 227.1 kB / 407.5 MB, free: 5.594 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01994, allocations: 0 / 407.5 MB, free: 5.594 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002379/0.02018, allocations: 135.7 kB / 407.6 MB, free: 5.461 MB / 330.7 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 8.611e-05/0.02027, allocations: 111.2 kB / 407.7 MB, free: 5.344 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000599/0.02086, allocations: 0.5319 MB / 408.2 MB, free: 4.793 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.02087, allocations: 0 / 408.2 MB, free: 4.793 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002553/0.02112, allocations: 227.7 kB / 408.5 MB, free: 4.57 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.02137, allocations: 63.94 kB / 408.5 MB, free: 4.508 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.02254, allocations: 1.097 MB / 409.6 MB, free: 3.371 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001678/0.02271, allocations: 259.9 kB / 409.9 MB, free: 3.094 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.02281, allocations: 40.48 kB / 409.9 MB, free: 3.051 MB / 330.7 MB Notification: Performance of SimCode: time 5.11e-07/0.02281, allocations: 3.938 kB / 409.9 MB, free: 3.047 MB / 330.7 MB Notification: Performance of Templates: time 0.1205/0.1433, allocations: 6.222 MB / 416.1 MB, free: 36.2 MB / 330.7 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.237808657810092] Failed to read output from testmodel.py, exit status != 0: 0.1487109949812293 0.15676557500000002 0.147448459 Calling exit ...