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.001226/0.001226, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009895/0.0009895, allocations: 173 kB / 23.49 MB, free: 1.059 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.09/1.09, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.01463/0.01463, allocations: 3.57 MB / 263.8 MB, free: 9.695 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 2.264e-06/2.264e-06, allocations: 0 / 334.1 MB, free: 15.63 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.96e-05/3.186e-05, allocations: 2.312 kB / 334.2 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_ArtificialInput): time 0.002707/0.002739, allocations: 1.718 MB / 335.9 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007529/0.003492, allocations: 0.549 MB / 336.4 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.985e-05/0.003582, allocations: 0 / 336.4 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001242/0.003706, allocations: 19.73 kB / 336.4 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.17e-05/0.003788, allocations: 19.8 kB / 336.5 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002859/0.004073, allocations: 63.8 kB / 336.5 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001924/0.004266, allocations: 123.5 kB / 336.6 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.004406, allocations: 29.28 kB / 336.7 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001827/0.004589, allocations: 83.73 kB / 336.7 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.296e-05/0.004662, allocations: 43.89 kB / 336.8 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.302e-05/0.004685, allocations: 8 kB / 336.8 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.201e-05/0.004727, allocations: 8 kB / 336.8 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.346e-05/0.00476, allocations: 23.91 kB / 336.8 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.761e-05/0.004808, allocations: 31.92 kB / 336.9 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.004969, allocations: 95.62 kB / 337 MB, free: 12.8 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.004972, allocations: 4 kB / 337 MB, free: 12.8 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.004973, allocations: 4 kB / 337 MB, free: 12.8 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.004978, allocations: 0 / 337 MB, free: 12.8 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.0005363/0.005515, allocations: 493.6 kB / 337.4 MB, free: 12.27 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.005557, allocations: 8.031 kB / 337.5 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001693/0.005726, allocations: 36.83 kB / 337.5 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.005892, allocations: 149.2 kB / 337.6 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.005906, allocations: 8.375 kB / 337.6 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.005921, allocations: 8.375 kB / 337.7 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002144/0.006136, allocations: 157.2 kB / 337.8 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.006145, allocations: 192 / 337.8 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.006159, allocations: 384 / 337.8 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.006169, allocations: 7.938 kB / 337.8 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.6e-05/0.006235, allocations: 31.91 kB / 337.8 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004567/0.006691, allocations: 0.8469 MB / 338.7 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.006813, allocations: 159.4 kB / 338.8 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.602e-05/0.006859, allocations: 54.52 kB / 338.9 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.006879, allocations: 4 kB / 338.9 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001444/0.007023, allocations: 131.3 kB / 339 MB, free: 10.46 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.253e-06/0.007025, allocations: 3.938 kB / 339 MB, free: 10.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002415/0.007266, allocations: 109.5 kB / 339.1 MB, free: 10.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.007303, allocations: 162.7 kB / 339.3 MB, free: 10.14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.373e-05/0.007397, allocations: 212.5 kB / 339.5 MB, free: 9.922 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.007409, allocations: 29.7 kB / 339.5 MB, free: 9.887 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.305e-05/0.007462, allocations: 159 kB / 339.7 MB, free: 9.723 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.702e-05/0.007479, allocations: 27.78 kB / 339.7 MB, free: 9.695 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.214e-05/0.007521, allocations: 31.36 kB / 339.8 MB, free: 9.656 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.819e-05/0.007569, allocations: 0.504 MB / 340.3 MB, free: 9.141 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.007e-05/0.007619, allocations: 41.69 kB / 340.3 MB, free: 9.094 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.854e-05/0.007668, allocations: 88.06 kB / 340.4 MB, free: 8.98 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.04e-05/0.007748, allocations: 104.1 kB / 340.5 MB, free: 8.852 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.00775, allocations: 0 / 340.5 MB, free: 8.852 MB / 266.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000151/0.007901, allocations: 168.8 kB / 340.6 MB, free: 8.668 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.417e-05/0.007925, allocations: 29.7 kB / 340.7 MB, free: 8.633 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.007931, allocations: 4 kB / 340.7 MB, free: 8.629 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.007952, allocations: 0 / 340.7 MB, free: 8.629 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.008065, allocations: 27.97 kB / 340.7 MB, free: 8.602 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.008072, allocations: 3.984 kB / 340.7 MB, free: 8.598 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.747e-05/0.00814, allocations: 28 kB / 340.7 MB, free: 8.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.008152, allocations: 8 kB / 340.7 MB, free: 8.562 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 6.388e-05/0.008216, allocations: 168.5 kB / 340.9 MB, free: 8.387 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.998e-05/0.008236, allocations: 11.95 kB / 340.9 MB, free: 8.375 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/0.008337, allocations: 58.2 kB / 341 MB, free: 8.312 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.00834, allocations: 3.984 kB / 341 MB, free: 8.309 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.008346, allocations: 8.062 kB / 341 MB, free: 8.301 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.00835, allocations: 0 / 341 MB, free: 8.301 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.008489, allocations: 325.4 kB / 341.3 MB, free: 7.941 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.008491, allocations: 0 / 341.3 MB, free: 7.941 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.406e-05/0.008546, allocations: 15.98 kB / 341.3 MB, free: 7.926 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.008548, allocations: 4 kB / 341.3 MB, free: 7.922 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.008559, allocations: 7.922 kB / 341.3 MB, free: 7.914 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.00856, allocations: 4 kB / 341.3 MB, free: 7.91 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.008562, allocations: 3.938 kB / 341.3 MB, free: 7.906 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001358/0.008698, allocations: 274.5 kB / 341.6 MB, free: 7.602 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.096e-05/0.008709, allocations: 7.953 kB / 341.6 MB, free: 7.594 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.008731, allocations: 4 kB / 341.6 MB, free: 7.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.708e-05/0.008798, allocations: 20.02 kB / 341.6 MB, free: 7.57 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.784e-05/0.008856, allocations: 19.91 kB / 341.7 MB, free: 7.551 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.008866, allocations: 4 kB / 341.7 MB, free: 7.547 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.453e-05/0.00891, allocations: 160 kB / 341.8 MB, free: 7.391 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00891, allocations: 0 / 341.8 MB, free: 7.391 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001772/0.009088, allocations: 27.89 kB / 341.9 MB, free: 7.363 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 7.2e-05/0.00916, allocations: 99.23 kB / 341.9 MB, free: 7.254 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001605/0.00932, allocations: 140.8 kB / 342.1 MB, free: 7.094 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.009322, allocations: 4.062 kB / 342.1 MB, free: 7.09 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.969e-05/0.009372, allocations: 35.61 kB / 342.1 MB, free: 7.051 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.009606, allocations: 19.98 kB / 342.1 MB, free: 7.031 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006348/0.01024, allocations: 283.9 kB / 342.4 MB, free: 6.711 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.414e-05/0.01027, allocations: 79.19 kB / 342.5 MB, free: 6.613 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.74e-05/0.01032, allocations: 8.719 kB / 342.5 MB, free: 6.605 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.351e-05/0.01037, allocations: 20.5 kB / 342.5 MB, free: 6.586 MB / 266.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01037, allocations: 0 / 342.5 MB, free: 6.586 MB / 266.7 MB Notification: Performance of Templates: time 0.003219/0.01359, allocations: 1.422 MB / 344 MB, free: 5.188 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.9495013009291142]