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.0009096/0.0009096, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001115/0.002025, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006924/0.0006924, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001609/0.002301, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9087/0.9087, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09691/1.006, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.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.01351/0.01351, allocations: 3.572 MB / 247.7 MB, free: 11.33 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002216/0.01573, allocations: 1.555 MB / 249.3 MB, free: 9.773 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.263e-06/1.263e-06, allocations: 0 / 250.5 MB, free: 8.508 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.07e-05/1.196e-05, allocations: 2.312 kB / 250.5 MB, free: 8.504 MB / 250.7 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.TwoZone_ArtificialInputs): time 0.00374/0.003752, allocations: 4.018 MB / 254.5 MB, free: 4.465 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.005164, allocations: 1.008 MB / 255.6 MB, free: 3.449 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001612/0.005325, allocations: 15.94 kB / 255.6 MB, free: 3.434 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001333/0.005458, allocations: 79.22 kB / 255.6 MB, free: 3.355 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002221/0.00568, allocations: 190.3 kB / 255.8 MB, free: 3.168 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003109/0.005991, allocations: 195.7 kB / 256 MB, free: 2.977 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006169/0.006608, allocations: 0.7868 MB / 256.8 MB, free: 2.188 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004232/0.007031, allocations: 340.8 kB / 257.1 MB, free: 1.84 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005831/0.007614, allocations: 492.5 kB / 257.6 MB, free: 1.359 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002617/0.007876, allocations: 235.4 kB / 257.9 MB, free: 1.129 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.259e-05/0.007949, allocations: 88 kB / 257.9 MB, free: 1.043 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003987/0.008347, allocations: 92 kB / 258 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.048e-05/0.008428, allocations: 123.6 kB / 258.2 MB, free: 0.832 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001559/0.008584, allocations: 199.7 kB / 258.3 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003788/0.008962, allocations: 478.4 kB / 258.8 MB, free: 172 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.006e-05/0.008973, allocations: 0 / 258.8 MB, free: 172 kB / 250.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.008973, allocations: 0 / 258.8 MB, free: 172 kB / 250.7 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.008983, allocations: 0 / 258.8 MB, free: 172 kB / 250.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.0009449/0.009928, allocations: 0.927 MB / 259.7 MB, free: 15.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.922e-05/0.009957, allocations: 11.98 kB / 259.8 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002447/0.0102, allocations: 186 kB / 259.9 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.01045, allocations: 241.4 kB / 260.2 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.01048, allocations: 37.38 kB / 260.2 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.216e-05/0.01053, allocations: 48.38 kB / 260.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003762/0.01091, allocations: 384.1 kB / 260.6 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.01092, allocations: 192 / 260.6 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.703e-05/0.01094, allocations: 16.38 kB / 260.6 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/0.01095, allocations: 19.94 kB / 260.7 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001575/0.01111, allocations: 118.9 kB / 260.8 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.01222, allocations: 1.167 MB / 261.9 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/0.01242, allocations: 177.8 kB / 262.1 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.595e-05/0.01251, allocations: 95.08 kB / 262.2 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.01254, allocations: 8.266 kB / 262.2 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001861/0.01273, allocations: 169.2 kB / 262.4 MB, free: 12.42 MB / 266.7 MB Notification: Performance of pre-optimization done (n=38): time 1.343e-06/0.01273, allocations: 0 / 262.4 MB, free: 12.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=38): time 0.0002873/0.01301, allocations: 215.9 kB / 262.6 MB, free: 12.2 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.01305, allocations: 85.11 kB / 262.7 MB, free: 12.1 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.0132, allocations: 278.8 kB / 263 MB, free: 11.82 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.01322, allocations: 33.7 kB / 263 MB, free: 11.78 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.866e-05/0.01331, allocations: 229 kB / 263.2 MB, free: 11.55 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.006e-05/0.01338, allocations: 138.8 kB / 263.3 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002248/0.01563, allocations: 82.14 kB / 263.4 MB, free: 11.33 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.01578, allocations: 350.7 kB / 263.8 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001948/0.01598, allocations: 62.69 kB / 263.8 MB, free: 10.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001853/0.01616, allocations: 149.8 kB / 264 MB, free: 10.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000353/0.01651, allocations: 217 kB / 264.2 MB, free: 10.49 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.01652, allocations: 0 / 264.2 MB, free: 10.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005026/0.01702, allocations: 282.3 kB / 264.5 MB, free: 10.2 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.212e-05/0.01707, allocations: 44.59 kB / 264.5 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.01708, allocations: 192 / 264.5 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.0171, allocations: 8 kB / 264.5 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007176/0.01782, allocations: 186.5 kB / 264.7 MB, free: 9.965 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.01783, allocations: 7.984 kB / 264.7 MB, free: 9.957 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002666/0.0181, allocations: 43.7 kB / 264.7 MB, free: 9.914 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.321e-05/0.01813, allocations: 12 kB / 264.8 MB, free: 9.902 MB / 266.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.0001986/0.01833, allocations: 140.5 kB / 264.9 MB, free: 9.754 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.229e-05/0.0184, allocations: 39.95 kB / 264.9 MB, free: 9.715 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003971/0.0188, allocations: 193.3 kB / 265.1 MB, free: 9.52 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.0188, allocations: 4 kB / 265.1 MB, free: 9.516 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.01881, allocations: 4 kB / 265.1 MB, free: 9.512 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.01881, allocations: 64 / 265.1 MB, free: 9.512 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000446/0.01926, allocations: 304.3 kB / 265.4 MB, free: 9.195 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.01926, allocations: 0 / 265.4 MB, free: 9.195 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003993/0.01966, allocations: 173.5 kB / 265.6 MB, free: 9.031 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.691e-05/0.01971, allocations: 39.64 kB / 265.6 MB, free: 8.992 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.01971, allocations: 7.938 kB / 265.6 MB, free: 8.984 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.353e-05/0.01974, allocations: 8 kB / 265.7 MB, free: 8.977 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.01974, allocations: 3.984 kB / 265.7 MB, free: 8.973 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.01974, allocations: 0 / 265.7 MB, free: 8.973 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003609/0.0201, allocations: 286.1 kB / 265.9 MB, free: 8.672 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.524e-05/0.02014, allocations: 15.92 kB / 266 MB, free: 8.656 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.02025, allocations: 23.98 kB / 266 MB, free: 8.633 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.431e-05/0.02031, allocations: 27.94 kB / 266 MB, free: 8.605 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.02033, allocations: 12 kB / 266 MB, free: 8.594 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.332e-05/0.02041, allocations: 104.6 kB / 266.1 MB, free: 8.492 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02041, allocations: 0 / 266.1 MB, free: 8.492 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002476/0.02066, allocations: 139.7 kB / 266.3 MB, free: 8.355 MB / 266.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.0001047/0.02076, allocations: 92.23 kB / 266.3 MB, free: 8.254 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002775/0.02104, allocations: 258.6 kB / 266.6 MB, free: 7.98 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.827e-05/0.02106, allocations: 8.562 kB / 266.6 MB, free: 7.973 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.0212, allocations: 116.6 kB / 266.7 MB, free: 7.855 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004417/0.02164, allocations: 0.6693 MB / 267.4 MB, free: 7.055 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005261/0.0269, allocations: 0.9553 MB / 268.3 MB, free: 6.059 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.142e-05/0.02699, allocations: 133.1 kB / 268.5 MB, free: 5.902 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001919/0.02718, allocations: 34.95 kB / 268.5 MB, free: 5.867 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001948/0.02738, allocations: 123.3 kB / 268.6 MB, free: 5.746 MB / 266.7 MB Notification: Performance of SimCode: time 2.104e-06/0.02738, allocations: 3.938 kB / 268.6 MB, free: 5.742 MB / 266.7 MB Notification: Performance of Templates: time 0.008506/0.03589, allocations: 5.236 MB / 273.9 MB, free: 0.6055 MB / 266.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.325352587737143]