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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 FastBuildings with version 0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.009824/0.009823, allocations: 171.1 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.02897/0.02897, allocations: 4.632 MB / 20.48 MB, free: 1.477 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 223.2 MB / 245.5 MB, free: 10.4 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009359/0.0009358, allocations: 96.56 kB / 297.7 MB, free: 5.492 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003349/0.0003349, allocations: 8 kB / 359.7 MB, free: 12.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1224, allocations: 51.49 MB / 411.2 MB, free: 9.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3489/0.4714, allocations: 77.26 MB / 488.5 MB, free: 8.914 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001165/0.4715, allocations: 51.97 kB / 488.5 MB, free: 8.867 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005392/0.4769, allocations: 2.114 MB / 490.7 MB, free: 6.809 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4769, allocations: 0 / 490.7 MB, free: 6.809 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.477, allocations: 1.281 kB / 490.7 MB, free: 6.809 MB / 346.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.0004973/0.4775, allocations: 454.9 kB / 491.1 MB, free: 6.316 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.4775, allocations: 8.031 kB / 491.1 MB, free: 6.309 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.334e-05/0.4776, allocations: 17.62 kB / 491.1 MB, free: 6.293 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.4777, allocations: 204.4 kB / 491.3 MB, free: 6.051 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.4777, allocations: 10.56 kB / 491.3 MB, free: 6.043 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.4778, allocations: 4 kB / 491.3 MB, free: 6.039 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00032/0.4781, allocations: 179.5 kB / 491.5 MB, free: 5.844 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.4781, allocations: 0 / 491.5 MB, free: 5.844 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.4781, allocations: 4 kB / 491.5 MB, free: 5.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.4781, allocations: 4 kB / 491.5 MB, free: 5.836 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003494/0.4785, allocations: 147.8 kB / 491.7 MB, free: 5.691 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006468/0.4791, allocations: 0.7171 MB / 492.4 MB, free: 4.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003093/0.4795, allocations: 198.9 kB / 492.6 MB, free: 4.672 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.4795, allocations: 4.078 kB / 492.6 MB, free: 4.668 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002684/0.4798, allocations: 167.5 kB / 492.7 MB, free: 4.477 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.4798, allocations: 0 / 492.7 MB, free: 4.477 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006289/0.4804, allocations: 269.6 kB / 493 MB, free: 4.207 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.4805, allocations: 162.2 kB / 493.2 MB, free: 4.012 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.434e-05/0.4806, allocations: 147.8 kB / 493.3 MB, free: 3.863 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.4806, allocations: 29.7 kB / 493.3 MB, free: 3.828 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.414e-05/0.4806, allocations: 112.1 kB / 493.4 MB, free: 3.715 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.4807, allocations: 31.64 kB / 493.5 MB, free: 3.684 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-06/0.4807, allocations: 0 / 493.5 MB, free: 3.684 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.938e-05/0.4807, allocations: 326.8 kB / 493.8 MB, free: 3.355 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.4809, allocations: 67.94 kB / 493.9 MB, free: 3.289 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.4811, allocations: 104.2 kB / 494 MB, free: 3.172 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001827/0.4813, allocations: 102.2 kB / 494.1 MB, free: 3.066 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4813, allocations: 0 / 494.1 MB, free: 3.066 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004451/0.4817, allocations: 239.2 kB / 494.3 MB, free: 2.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/0.4818, allocations: 41.69 kB / 494.3 MB, free: 2.773 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.4818, allocations: 0 / 494.3 MB, free: 2.773 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.4818, allocations: 7.953 kB / 494.3 MB, free: 2.766 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.482, allocations: 28.58 kB / 494.4 MB, free: 2.738 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.482, allocations: 7.984 kB / 494.4 MB, free: 2.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.4821, allocations: 32.64 kB / 494.4 MB, free: 2.699 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.4822, allocations: 4 kB / 494.4 MB, free: 2.695 MB / 346.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 ($whenCondition1,$PRE.powElePul.T_start,powElePul.T_start,$PRE.powElePul.count,powElePul.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.111e-05/0.4822, allocations: 130.5 kB / 494.5 MB, free: 2.559 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.117e-05/0.4823, allocations: 7.906 kB / 494.6 MB, free: 2.551 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001632/0.4824, allocations: 105.8 kB / 494.7 MB, free: 2.441 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.4824, allocations: 4.562 kB / 494.7 MB, free: 2.438 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.4825, allocations: 3.953 kB / 494.7 MB, free: 2.434 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.4825, allocations: 0.6094 kB / 494.7 MB, free: 2.434 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.4826, allocations: 323.1 kB / 495 MB, free: 2.062 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.4826, allocations: 0 / 495 MB, free: 2.062 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/0.4828, allocations: 43.97 kB / 495 MB, free: 2.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.4828, allocations: 0.5625 kB / 495 MB, free: 2.02 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.4828, allocations: 8.891 kB / 495 MB, free: 2.012 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.4828, allocations: 0 / 495 MB, free: 2.012 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.4828, allocations: 3.984 kB / 495 MB, free: 2.008 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004194/0.4832, allocations: 359.9 kB / 495.4 MB, free: 1.605 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.891e-05/0.4833, allocations: 88.92 kB / 495.5 MB, free: 1.5 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.4833, allocations: 7.984 kB / 495.5 MB, free: 1.492 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.4835, allocations: 23.98 kB / 495.5 MB, free: 1.469 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.914e-05/0.4835, allocations: 19.92 kB / 495.5 MB, free: 1.449 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.4836, allocations: 8.938 kB / 495.5 MB, free: 1.441 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.984e-05/0.4836, allocations: 128 kB / 495.7 MB, free: 1.316 MB / 346.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4836, allocations: 3.938 kB / 495.7 MB, free: 1.312 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002353/0.4839, allocations: 23.94 kB / 495.7 MB, free: 1.289 MB / 346.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.21e-05/0.484, allocations: 100 kB / 495.8 MB, free: 1.18 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004277/0.4844, allocations: 215.2 kB / 496 MB, free: 0.957 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.4844, allocations: 4 kB / 496 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002199/0.4846, allocations: 100.3 kB / 496.1 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001876/0.4848, allocations: 12.56 kB / 496.1 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004478/0.4853, allocations: 300.6 kB / 496.4 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001937/0.4855, allocations: 0.7207 MB / 497.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.225e-05/0.4856, allocations: 17.22 kB / 497.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.861e-05/0.4856, allocations: 11.44 kB / 497.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of SimCode: time 3.6e-07/0.4856, allocations: 0 / 497.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of Templates: time 0.003136/0.4888, allocations: 1.13 MB / 498.3 MB, free: 14.67 MB / 362.7 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)