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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo", uses=false) Using package FastBuildings with version 0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(FastBuildings.Input.SIM_ArtificialInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Input.SIM_ArtificialInput") translateModel(FastBuildings.Input.SIM_ArtificialInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Input.SIM_ArtificialInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 104.5 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 191.5 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.03635/0.03635, allocations: 4.657 MB / 295.7 MB, free: 10.32 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 67.89 kB / 357.2 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2699, allocations: 50.5 MB / 407.7 MB, free: 30.9 MB / 302.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_ArtificialInput): time 0.002555/0.2725, allocations: 1.678 MB / 409.4 MB, free: 29.22 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006625/0.2731, allocations: 474.7 kB / 409.9 MB, free: 28.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.205e-05/0.2732, allocations: 8 kB / 409.9 MB, free: 28.74 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001112/0.2734, allocations: 11.86 kB / 409.9 MB, free: 28.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.515e-05/0.2734, allocations: 27.72 kB / 409.9 MB, free: 28.7 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002074/0.2737, allocations: 39.89 kB / 409.9 MB, free: 28.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001819/0.2739, allocations: 119.6 kB / 410.1 MB, free: 28.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.274, allocations: 49.34 kB / 410.1 MB, free: 28.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.2742, allocations: 47.84 kB / 410.2 MB, free: 28.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.73e-05/0.2743, allocations: 59.75 kB / 410.2 MB, free: 28.39 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.657e-05/0.2743, allocations: 8 kB / 410.2 MB, free: 28.39 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.08e-05/0.2743, allocations: 12 kB / 410.2 MB, free: 28.38 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.443e-05/0.2744, allocations: 19.91 kB / 410.3 MB, free: 28.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.977e-05/0.2744, allocations: 51.67 kB / 410.3 MB, free: 28.3 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.2746, allocations: 101.6 kB / 410.4 MB, free: 28.21 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.2746, allocations: 0 / 410.4 MB, free: 28.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2746, allocations: 0 / 410.4 MB, free: 28.21 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.2746, allocations: 4 kB / 410.4 MB, free: 28.2 MB / 302.1 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.0007649/0.2754, allocations: 464.6 kB / 410.9 MB, free: 27.7 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.2754, allocations: 12.03 kB / 410.9 MB, free: 27.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.637e-05/0.2755, allocations: 16.73 kB / 410.9 MB, free: 27.67 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.2756, allocations: 196.7 kB / 411.1 MB, free: 27.44 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.2757, allocations: 4.375 kB / 411.1 MB, free: 27.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.2757, allocations: 12.12 kB / 411.1 MB, free: 27.42 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003512/0.276, allocations: 165.8 kB / 411.3 MB, free: 27.24 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.2761, allocations: 0 / 411.3 MB, free: 27.24 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.2761, allocations: 4 kB / 411.3 MB, free: 27.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.2761, allocations: 3.984 kB / 411.3 MB, free: 27.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003573/0.2765, allocations: 119.8 kB / 411.4 MB, free: 27.11 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006769/0.2771, allocations: 0.7159 MB / 412.1 MB, free: 26.33 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003375/0.2775, allocations: 173 kB / 412.3 MB, free: 26.12 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001905/0.2777, allocations: 84.23 kB / 412.4 MB, free: 26.02 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.2777, allocations: 0 / 412.4 MB, free: 26.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002795/0.278, allocations: 163.5 kB / 412.5 MB, free: 25.83 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.278, allocations: 0 / 412.5 MB, free: 25.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007358/0.2788, allocations: 237.2 kB / 412.7 MB, free: 25.59 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.2788, allocations: 158.2 kB / 412.9 MB, free: 25.4 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.2789, allocations: 172.2 kB / 413.1 MB, free: 25.23 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.279, allocations: 33.7 kB / 413.1 MB, free: 25.19 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.735e-05/0.279, allocations: 108 kB / 413.2 MB, free: 25.08 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.279, allocations: 31.55 kB / 413.2 MB, free: 25.05 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.876e-05/0.2791, allocations: 21.72 kB / 413.3 MB, free: 25.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.935e-05/0.2792, allocations: 326.8 kB / 413.6 MB, free: 24.69 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/0.2794, allocations: 55.94 kB / 413.6 MB, free: 24.64 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/0.2796, allocations: 96.17 kB / 413.7 MB, free: 24.53 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000382/0.2799, allocations: 181.8 kB / 413.9 MB, free: 24.33 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.28, allocations: 0 / 413.9 MB, free: 24.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004611/0.2804, allocations: 215.2 kB / 414.1 MB, free: 24.11 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.2805, allocations: 33.69 kB / 414.1 MB, free: 24.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.2805, allocations: 4 kB / 414.1 MB, free: 24.06 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.2805, allocations: 7.875 kB / 414.2 MB, free: 24.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.2807, allocations: 27.97 kB / 414.2 MB, free: 24.03 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.2807, allocations: 0 / 414.2 MB, free: 24.03 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001596/0.2808, allocations: 27.83 kB / 414.2 MB, free: 24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.2809, allocations: 4 kB / 414.2 MB, free: 24 MB / 302.1 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 9.385e-05/0.281, allocations: 133.8 kB / 414.3 MB, free: 23.86 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.316e-05/0.281, allocations: 11.84 kB / 414.4 MB, free: 23.84 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001691/0.2812, allocations: 89.83 kB / 414.4 MB, free: 23.74 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.2812, allocations: 7.938 kB / 414.5 MB, free: 23.73 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.2812, allocations: 0 / 414.5 MB, free: 23.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.2812, allocations: 192 / 414.5 MB, free: 23.73 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000204/0.2814, allocations: 334.4 kB / 414.8 MB, free: 23.35 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.2814, allocations: 8 kB / 414.8 MB, free: 23.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/0.2816, allocations: 27.95 kB / 414.8 MB, free: 23.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.2816, allocations: 4 kB / 414.8 MB, free: 23.31 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.2816, allocations: 7.984 kB / 414.8 MB, free: 23.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.2816, allocations: 4 kB / 414.8 MB, free: 23.3 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.2816, allocations: 0 / 414.8 MB, free: 23.3 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000434/0.282, allocations: 278.8 kB / 415.1 MB, free: 23 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.297e-05/0.2821, allocations: 96.89 kB / 415.2 MB, free: 22.89 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/0.2821, allocations: 7.984 kB / 415.2 MB, free: 22.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.2823, allocations: 19.98 kB / 415.2 MB, free: 22.86 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.396e-05/0.2824, allocations: 24 kB / 415.2 MB, free: 22.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.2824, allocations: 7.938 kB / 415.3 MB, free: 22.83 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.841e-05/0.2825, allocations: 123.2 kB / 415.4 MB, free: 22.71 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.2825, allocations: 0 / 415.4 MB, free: 22.71 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002671/0.2828, allocations: 19.91 kB / 415.4 MB, free: 22.69 MB / 302.1 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.741e-05/0.2828, allocations: 108 kB / 415.5 MB, free: 22.57 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000499/0.2833, allocations: 203.2 kB / 415.7 MB, free: 22.36 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2834, allocations: 0 / 415.7 MB, free: 22.36 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002244/0.2836, allocations: 80.31 kB / 415.8 MB, free: 22.29 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/0.284, allocations: 15.92 kB / 415.8 MB, free: 22.27 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000581/0.2846, allocations: 308.3 kB / 416.1 MB, free: 21.92 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001437/0.2847, allocations: 0.708 MB / 416.8 MB, free: 21.18 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.483e-05/0.2848, allocations: 15.42 kB / 416.8 MB, free: 21.17 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2848, allocations: 4 kB / 416.8 MB, free: 21.16 MB / 302.1 MB Notification: Performance of Templates: time 0.002725/0.2875, allocations: 1.551 MB / 418.4 MB, free: 19.62 MB / 302.1 MB make -j1 -f FastBuildings_FastBuildings.Input.SIM_ArtificialInput.makefile (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=480 -lv LOG_STATS > FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe 2>&1)