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.0008541/0.0008541, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001161/0.001161, allocations: 173 kB / 23.03 MB, free: 1.543 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.9495/0.9495, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.02002/0.02002, allocations: 3.579 MB / 263.5 MB, free: 9.605 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.443e-06/1.443e-06, allocations: 0 / 334.1 MB, free: 352 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.306e-05/1.45e-05, allocations: 8.562 kB / 334.1 MB, free: 344 kB / 298.7 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_ArtificialInput): time 0.004443/0.004458, allocations: 1.707 MB / 335.8 MB, free: 14.62 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007703/0.005228, allocations: 0.5531 MB / 336.4 MB, free: 14.06 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.469e-05/0.005313, allocations: 0 / 336.4 MB, free: 14.06 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001031/0.005416, allocations: 7.875 kB / 336.4 MB, free: 14.05 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 7.024e-05/0.005486, allocations: 27.72 kB / 336.4 MB, free: 14.02 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003122/0.005798, allocations: 63.8 kB / 336.5 MB, free: 13.96 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.005954, allocations: 123.5 kB / 336.6 MB, free: 13.84 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.006071, allocations: 29.28 kB / 336.6 MB, free: 13.81 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001621/0.006233, allocations: 83.73 kB / 336.7 MB, free: 13.73 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.799e-05/0.006301, allocations: 39.89 kB / 336.8 MB, free: 13.69 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.006328, allocations: 12 kB / 336.8 MB, free: 13.68 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.209e-05/0.00637, allocations: 12 kB / 336.8 MB, free: 13.66 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.439e-05/0.006404, allocations: 23.91 kB / 336.8 MB, free: 13.64 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.534e-05/0.00645, allocations: 31.91 kB / 336.8 MB, free: 13.61 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001416/0.006591, allocations: 91.64 kB / 336.9 MB, free: 13.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.006593, allocations: 0 / 336.9 MB, free: 13.52 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.006594, allocations: 0 / 336.9 MB, free: 13.52 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.377e-06/0.006597, allocations: 4 kB / 336.9 MB, free: 13.52 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005152/0.007112, allocations: 497.7 kB / 337.4 MB, free: 12.99 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.007148, allocations: 8.031 kB / 337.4 MB, free: 12.98 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001528/0.007301, allocations: 40.81 kB / 337.5 MB, free: 12.94 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.007465, allocations: 161 kB / 337.6 MB, free: 12.76 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.007477, allocations: 8.359 kB / 337.6 MB, free: 12.75 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.007491, allocations: 8.375 kB / 337.6 MB, free: 12.74 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.007703, allocations: 157.2 kB / 337.8 MB, free: 12.56 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.007713, allocations: 4.188 kB / 337.8 MB, free: 12.55 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.007726, allocations: 384 / 337.8 MB, free: 12.55 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.188e-06/0.007735, allocations: 7.938 kB / 337.8 MB, free: 12.55 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.307e-05/0.007798, allocations: 27.92 kB / 337.8 MB, free: 12.52 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007133/0.008511, allocations: 0.8507 MB / 338.7 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.008651, allocations: 155.4 kB / 338.8 MB, free: 11.4 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.235e-05/0.008704, allocations: 58.52 kB / 338.9 MB, free: 11.32 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.008721, allocations: 4 kB / 338.9 MB, free: 11.32 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001356/0.008857, allocations: 138.2 kB / 339 MB, free: 11.15 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.008858, allocations: 0 / 339 MB, free: 11.15 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002243/0.009082, allocations: 113.4 kB / 339.1 MB, free: 11.03 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.517e-05/0.009138, allocations: 154.2 kB / 339.3 MB, free: 10.84 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.009255, allocations: 218.5 kB / 339.5 MB, free: 10.61 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.009272, allocations: 33.7 kB / 339.5 MB, free: 10.57 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.25e-05/0.009334, allocations: 155.5 kB / 339.7 MB, free: 10.41 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.009353, allocations: 31.75 kB / 339.7 MB, free: 10.38 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-05/0.009394, allocations: 35.36 kB / 339.8 MB, free: 10.34 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.009501, allocations: 0.4961 MB / 340.3 MB, free: 9.832 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.067e-05/0.009551, allocations: 45.69 kB / 340.3 MB, free: 9.781 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.745e-05/0.009609, allocations: 84.12 kB / 340.4 MB, free: 9.672 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.779e-05/0.009696, allocations: 112 kB / 340.5 MB, free: 9.535 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.009699, allocations: 3.938 kB / 340.5 MB, free: 9.531 MB / 314.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001538/0.009853, allocations: 157 kB / 340.7 MB, free: 9.359 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.009877, allocations: 29.7 kB / 340.7 MB, free: 9.324 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.009882, allocations: 4 kB / 340.7 MB, free: 9.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.009893, allocations: 0 / 340.7 MB, free: 9.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.567e-05/0.009989, allocations: 31.91 kB / 340.7 MB, free: 9.289 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.009995, allocations: 0 / 340.7 MB, free: 9.289 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.071e-05/0.01006, allocations: 23.88 kB / 340.7 MB, free: 9.266 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.01007, allocations: 8 kB / 340.7 MB, free: 9.258 MB / 314.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 7.385e-05/0.01014, allocations: 168.6 kB / 340.9 MB, free: 9.082 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.916e-05/0.01016, allocations: 15.89 kB / 340.9 MB, free: 9.066 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.084e-05/0.01025, allocations: 58.02 kB / 341 MB, free: 9.004 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.01025, allocations: 4 kB / 341 MB, free: 9 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.01026, allocations: 3.938 kB / 341 MB, free: 8.996 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.01026, allocations: 4 kB / 341 MB, free: 8.992 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.01042, allocations: 321.3 kB / 341.3 MB, free: 8.637 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.01042, allocations: 0 / 341.3 MB, free: 8.637 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.079e-05/0.01047, allocations: 24.03 kB / 341.3 MB, free: 8.613 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.01048, allocations: 8.062 kB / 341.3 MB, free: 8.605 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.01049, allocations: 0 / 341.3 MB, free: 8.605 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.01049, allocations: 4 kB / 341.3 MB, free: 8.602 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01049, allocations: 0 / 341.3 MB, free: 8.602 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004097/0.0109, allocations: 270.5 kB / 341.6 MB, free: 8.301 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.314e-05/0.01091, allocations: 12.12 kB / 341.6 MB, free: 8.289 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.01093, allocations: 8 kB / 341.6 MB, free: 8.281 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.31e-05/0.011, allocations: 11.98 kB / 341.6 MB, free: 8.27 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.523e-05/0.01105, allocations: 23.84 kB / 341.7 MB, free: 8.246 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.926e-06/0.01106, allocations: 11.98 kB / 341.7 MB, free: 8.234 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.516e-05/0.01112, allocations: 155.2 kB / 341.8 MB, free: 8.082 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01112, allocations: 0 / 341.8 MB, free: 8.082 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001721/0.01129, allocations: 31.89 kB / 341.9 MB, free: 8.051 MB / 314.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.019e-05/0.01135, allocations: 91.25 kB / 341.9 MB, free: 7.953 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001721/0.01152, allocations: 140.6 kB / 342.1 MB, free: 7.793 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.01152, allocations: 0 / 342.1 MB, free: 7.793 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.078e-05/0.01157, allocations: 35.98 kB / 342.1 MB, free: 7.754 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002004/0.01177, allocations: 24.11 kB / 342.1 MB, free: 7.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005287/0.0123, allocations: 285.8 kB / 342.4 MB, free: 7.406 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.498e-05/0.01235, allocations: 75.33 kB / 342.5 MB, free: 7.312 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.264e-05/0.01239, allocations: 12.72 kB / 342.5 MB, free: 7.301 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.378e-05/0.01243, allocations: 20.48 kB / 342.5 MB, free: 7.281 MB / 314.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01243, allocations: 0 / 342.5 MB, free: 7.281 MB / 314.7 MB Notification: Performance of Templates: time 0.002791/0.01522, allocations: 1.491 MB / 344 MB, free: 5.816 MB / 314.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.7556236451491714]