Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Input.SIM_ArtificialInput.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.001035/0.001035, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.001048/0.001048, allocations: 169 kB / 23.27 MB, free: 1.219 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 1.045/1.045, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.01437/0.01437, allocations: 3.572 MB / 263.8 MB, free: 9.465 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.Input.SIM_ArtificialInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Input.SIM_ArtificialInput") translateModel(FastBuildings.Input.SIM_ArtificialInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Input.SIM_ArtificialInput") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 334.6 MB, free: 15.02 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.247e-05/1.386e-05, allocations: 4.844 kB / 334.6 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_ArtificialInput): time 0.001632/0.001646, allocations: 1.707 MB / 336.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000615/0.002261, allocations: 0.5452 MB / 336.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.541e-05/0.002327, allocations: 4 kB / 336.8 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.96e-05/0.002416, allocations: 19.73 kB / 336.9 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.176e-05/0.002478, allocations: 27.72 kB / 336.9 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001988/0.002677, allocations: 55.88 kB / 336.9 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001282/0.002805, allocations: 127.5 kB / 337.1 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.002913, allocations: 29.28 kB / 337.1 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.003065, allocations: 75.8 kB / 337.2 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.05e-05/0.003126, allocations: 51.88 kB / 337.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.003145, allocations: 12 kB / 337.2 MB, free: 12.35 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.566e-05/0.003181, allocations: 8 kB / 337.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.535e-05/0.003206, allocations: 19.92 kB / 337.3 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.217e-05/0.003238, allocations: 31.91 kB / 337.3 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.003354, allocations: 99.58 kB / 337.4 MB, free: 12.19 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.512e-06/0.003356, allocations: 0 / 337.4 MB, free: 12.19 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.52e-07/0.003356, allocations: 0 / 337.4 MB, free: 12.19 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.00336, allocations: 4 kB / 337.4 MB, free: 12.19 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0003881/0.003748, allocations: 493.6 kB / 337.9 MB, free: 11.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.003782, allocations: 8.031 kB / 337.9 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001246/0.003906, allocations: 36.83 kB / 337.9 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.004014, allocations: 149.2 kB / 338.1 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.004025, allocations: 8.375 kB / 338.1 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.004037, allocations: 12.3 kB / 338.1 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.004184, allocations: 144.1 kB / 338.2 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.004193, allocations: 4.172 kB / 338.2 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.004204, allocations: 8.375 kB / 338.2 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.004209, allocations: 7.938 kB / 338.2 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.112e-05/0.00425, allocations: 27.91 kB / 338.3 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003363/0.004587, allocations: 0.8201 MB / 339.1 MB, free: 10.35 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.669e-05/0.004673, allocations: 147.5 kB / 339.2 MB, free: 10.14 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.213e-05/0.004706, allocations: 54.52 kB / 339.3 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.004722, allocations: 7.938 kB / 339.3 MB, free: 10.06 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.873e-05/0.004821, allocations: 135.3 kB / 339.4 MB, free: 9.891 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.004822, allocations: 0 / 339.4 MB, free: 9.891 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001767/0.004999, allocations: 97.48 kB / 339.5 MB, free: 9.789 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.005029, allocations: 162.2 kB / 339.7 MB, free: 9.594 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.98e-05/0.005099, allocations: 222.4 kB / 339.9 MB, free: 9.359 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/0.005108, allocations: 25.7 kB / 339.9 MB, free: 9.328 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.103e-05/0.005149, allocations: 163 kB / 340.1 MB, free: 9.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.306e-05/0.005162, allocations: 24.3 kB / 340.1 MB, free: 9.137 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-05/0.005199, allocations: 39.34 kB / 340.1 MB, free: 9.09 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.983e-05/0.005248, allocations: 0.5 MB / 340.6 MB, free: 8.578 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.419e-05/0.005283, allocations: 37.69 kB / 340.7 MB, free: 8.535 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.641e-05/0.005319, allocations: 84.11 kB / 340.8 MB, free: 8.426 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.197e-05/0.005381, allocations: 108 kB / 340.9 MB, free: 8.293 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.005383, allocations: 0 / 340.9 MB, free: 8.293 MB / 266.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001146/0.005497, allocations: 156.9 kB / 341 MB, free: 8.121 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.005519, allocations: 37.7 kB / 341.1 MB, free: 8.078 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.005522, allocations: 0 / 341.1 MB, free: 8.078 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.005535, allocations: 7.984 kB / 341.1 MB, free: 8.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.63e-05/0.005612, allocations: 24.05 kB / 341.1 MB, free: 8.047 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.197e-06/0.005616, allocations: 7.938 kB / 341.1 MB, free: 8.039 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.726e-05/0.005673, allocations: 19.88 kB / 341.1 MB, free: 8.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.005683, allocations: 4 kB / 341.1 MB, free: 8.016 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 (powElePul.count,$PRE.powElePul.count,powElePul.T_start,$PRE.powElePul.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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 5.795e-05/0.00574, allocations: 168.6 kB / 341.3 MB, free: 7.84 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.755e-05/0.005758, allocations: 11.95 kB / 341.3 MB, free: 7.828 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.279e-05/0.005831, allocations: 65.95 kB / 341.4 MB, free: 7.758 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.005833, allocations: 0 / 341.4 MB, free: 7.758 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.005835, allocations: 4 kB / 341.4 MB, free: 7.754 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.005839, allocations: 0 / 341.4 MB, free: 7.754 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.005951, allocations: 286 kB / 341.6 MB, free: 7.441 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.005953, allocations: 0 / 341.6 MB, free: 7.441 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.497e-05/0.005998, allocations: 27.92 kB / 341.7 MB, free: 7.414 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.006, allocations: 0 / 341.7 MB, free: 7.414 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.006007, allocations: 8.062 kB / 341.7 MB, free: 7.406 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.006008, allocations: 3.938 kB / 341.7 MB, free: 7.402 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.00601, allocations: 4 kB / 341.7 MB, free: 7.398 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.006117, allocations: 274.4 kB / 342 MB, free: 7.094 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.957e-06/0.006126, allocations: 7.953 kB / 342 MB, free: 7.086 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.006142, allocations: 4 kB / 342 MB, free: 7.082 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.445e-05/0.006206, allocations: 12.17 kB / 342 MB, free: 7.07 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.344e-05/0.00625, allocations: 19.97 kB / 342 MB, free: 7.051 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.006257, allocations: 7.984 kB / 342 MB, free: 7.043 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.145e-05/0.006288, allocations: 159.9 kB / 342.2 MB, free: 6.887 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006288, allocations: 0 / 342.2 MB, free: 6.887 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001578/0.006446, allocations: 31.89 kB / 342.2 MB, free: 6.855 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,powElePul.T_start,powElePul.count) * Number of discrete states: 1 (powElePul.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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 6.046e-05/0.006506, allocations: 99.19 kB / 342.3 MB, free: 6.746 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001182/0.006625, allocations: 136.7 kB / 342.4 MB, free: 6.59 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.12e-07/0.006626, allocations: 0 / 342.4 MB, free: 6.59 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.568e-05/0.006661, allocations: 31.61 kB / 342.5 MB, free: 6.555 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001888/0.00685, allocations: 24.31 kB / 342.5 MB, free: 6.535 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000427/0.007277, allocations: 283.7 kB / 342.8 MB, free: 6.215 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.17e-05/0.007309, allocations: 75.19 kB / 342.8 MB, free: 6.121 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.531e-05/0.007344, allocations: 8.734 kB / 342.8 MB, free: 6.113 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.412e-05/0.007408, allocations: 90.19 kB / 342.9 MB, free: 6.023 MB / 266.7 MB Notification: Performance of SimCode: time 4.61e-07/0.007409, allocations: 0 / 342.9 MB, free: 6.023 MB / 266.7 MB Notification: Performance of Templates: time 0.002706/0.01011, allocations: 1.524 MB / 344.5 MB, free: 4.523 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f FastBuildings_FastBuildings.Input.SIM_ArtificialInput.makefile [Timeout 660] (rm -f FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe ; mkfifo FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe >> ../files/FastBuildings_FastBuildings.Input.SIM_ArtificialInput.sim & ./FastBuildings_FastBuildings.Input.SIM_ArtificialInput -abortSlowSimulation -alarm=240 -lv LOG_STATS > FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.834847397170961]