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.001347/0.001347, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0016/0.0016, allocations: 169 kB / 24.06 MB, free: 456 kB / 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 1.099/1.099, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.01451/0.01451, allocations: 3.574 MB / 264.6 MB, free: 9.457 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.653e-06/1.653e-06, allocations: 0 / 335.4 MB, free: 0 / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.267e-05/4.432e-05, allocations: 6.141 kB / 335.4 MB, free: 16 MB / 314.7 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.TwoZone_ArtificialInputs): time 0.00393/0.003975, allocations: 3.947 MB / 339.4 MB, free: 12.03 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001616/0.005591, allocations: 0.9776 MB / 340.4 MB, free: 11.04 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002184/0.005809, allocations: 15.94 kB / 340.4 MB, free: 11.03 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000196/0.006005, allocations: 83.11 kB / 340.5 MB, free: 10.95 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002463/0.006251, allocations: 178.4 kB / 340.6 MB, free: 10.77 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004411/0.006692, allocations: 195.7 kB / 340.8 MB, free: 10.58 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006508/0.007343, allocations: 0.7912 MB / 341.6 MB, free: 9.785 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004419/0.007785, allocations: 328.8 kB / 341.9 MB, free: 9.449 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005071/0.008292, allocations: 451.1 kB / 342.4 MB, free: 9.008 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002705/0.008563, allocations: 247.4 kB / 342.6 MB, free: 8.766 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.579e-05/0.008638, allocations: 84 kB / 342.7 MB, free: 8.684 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.00875, allocations: 84 kB / 342.8 MB, free: 8.602 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.353e-05/0.008843, allocations: 163.5 kB / 342.9 MB, free: 8.441 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001792/0.009022, allocations: 235.5 kB / 343.2 MB, free: 8.211 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004835/0.009506, allocations: 0.4945 MB / 343.7 MB, free: 7.715 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.009509, allocations: 0 / 343.7 MB, free: 7.715 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.00951, allocations: 0 / 343.7 MB, free: 7.715 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.009517, allocations: 0 / 343.7 MB, free: 7.715 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.0009971/0.01051, allocations: 0.9385 MB / 344.6 MB, free: 6.734 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.01055, allocations: 12.03 kB / 344.6 MB, free: 6.723 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002451/0.0108, allocations: 128.5 kB / 344.7 MB, free: 6.598 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003221/0.01112, allocations: 320.2 kB / 345.1 MB, free: 6.254 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.903e-05/0.01115, allocations: 41.38 kB / 345.1 MB, free: 6.211 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.54e-05/0.0112, allocations: 52.36 kB / 345.1 MB, free: 6.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004296/0.01163, allocations: 388.5 kB / 345.5 MB, free: 5.762 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.01164, allocations: 192 / 345.5 MB, free: 5.762 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.131e-05/0.01168, allocations: 24.38 kB / 345.6 MB, free: 5.738 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.01169, allocations: 15.94 kB / 345.6 MB, free: 5.723 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001952/0.01188, allocations: 126.9 kB / 345.7 MB, free: 5.598 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001454/0.01334, allocations: 1.528 MB / 347.2 MB, free: 4.023 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00024/0.01358, allocations: 218.4 kB / 347.4 MB, free: 3.789 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.01369, allocations: 95.97 kB / 347.5 MB, free: 3.688 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.269e-05/0.01372, allocations: 12.27 kB / 347.5 MB, free: 3.676 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002263/0.01395, allocations: 188.4 kB / 347.7 MB, free: 3.469 MB / 314.7 MB Notification: Performance of pre-optimization done (n=38): time 1.453e-06/0.01395, allocations: 0 / 347.7 MB, free: 3.469 MB / 314.7 MB Notification: Performance of matching and sorting (n=38): time 0.0004268/0.01438, allocations: 279.1 kB / 348 MB, free: 3.191 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.01442, allocations: 81.11 kB / 348.1 MB, free: 3.094 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000213/0.01463, allocations: 342.1 kB / 348.4 MB, free: 2.742 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.984e-05/0.01466, allocations: 33.7 kB / 348.4 MB, free: 2.703 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.01482, allocations: 323 kB / 348.8 MB, free: 2.379 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.709e-05/0.01491, allocations: 134.8 kB / 348.9 MB, free: 2.246 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.43e-05/0.015, allocations: 79.81 kB / 349 MB, free: 2.16 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.01514, allocations: 0.5273 MB / 349.5 MB, free: 1.621 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.841e-05/0.01524, allocations: 74.66 kB / 349.6 MB, free: 1.539 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.01537, allocations: 168.4 kB / 349.7 MB, free: 1.336 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002246/0.0156, allocations: 244.9 kB / 350 MB, free: 1.059 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.0156, allocations: 0 / 350 MB, free: 1.059 MB / 314.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003668/0.01596, allocations: 362 kB / 350.3 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/0.016, allocations: 33.89 kB / 350.4 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.016, allocations: 7.984 kB / 350.4 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.01601, allocations: 4 kB / 350.4 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002978/0.01631, allocations: 115.9 kB / 350.5 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.01632, allocations: 7.938 kB / 350.5 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.01646, allocations: 47.66 kB / 350.5 MB, free: 480 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/0.01648, allocations: 12 kB / 350.5 MB, free: 468 kB / 314.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.000129/0.01661, allocations: 180.5 kB / 350.7 MB, free: 276 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.092e-05/0.01666, allocations: 51.7 kB / 350.8 MB, free: 224 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003135/0.01697, allocations: 233.3 kB / 351 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.01698, allocations: 4 kB / 351 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.01698, allocations: 0 / 351 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.01698, allocations: 0 / 351 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002925/0.01727, allocations: 333 kB / 351.3 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.01728, allocations: 4 kB / 351.3 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002724/0.01755, allocations: 99.88 kB / 351.4 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/0.01755, allocations: 7.984 kB / 351.4 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.366e-05/0.01758, allocations: 16.05 kB / 351.5 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.01758, allocations: 3.938 kB / 351.5 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.01758, allocations: 4 kB / 351.5 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000411/0.01799, allocations: 352.8 kB / 351.8 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/0.01803, allocations: 39.64 kB / 351.8 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.47e-05/0.01807, allocations: 12 kB / 351.9 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.897e-05/0.01817, allocations: 23.92 kB / 351.9 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.393e-05/0.01823, allocations: 31.94 kB / 351.9 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.01825, allocations: 11.94 kB / 351.9 MB, free: 15.01 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001121/0.01836, allocations: 222.9 kB / 352.1 MB, free: 14.79 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01836, allocations: 0 / 352.1 MB, free: 14.79 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002835/0.01864, allocations: 135.7 kB / 352.3 MB, free: 14.66 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 0.0001048/0.01875, allocations: 107.2 kB / 352.4 MB, free: 14.55 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000314/0.01906, allocations: 265.5 kB / 352.6 MB, free: 14.27 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01906, allocations: 0 / 352.6 MB, free: 14.27 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.01919, allocations: 111.4 kB / 352.7 MB, free: 14.15 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.01946, allocations: 57.5 kB / 352.8 MB, free: 14.09 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.02083, allocations: 0.9787 MB / 353.8 MB, free: 13.07 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.58e-05/0.0209, allocations: 133.1 kB / 353.9 MB, free: 12.93 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001206/0.02102, allocations: 38.94 kB / 354 MB, free: 12.89 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001692/0.02119, allocations: 134.2 kB / 354.1 MB, free: 12.75 MB / 330.7 MB Notification: Performance of SimCode: time 1.022e-06/0.02119, allocations: 0 / 354.1 MB, free: 12.75 MB / 330.7 MB Notification: Performance of Templates: time 0.007174/0.02837, allocations: 4.719 MB / 358.8 MB, free: 8.102 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=240 -lv LOG_STATS > FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.970537941902876]