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.001388/0.001387, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.0281/0.0281, allocations: 4.537 MB / 17.8 MB, free: 2.512 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.373/1.373, allocations: 221.3 MB / 240.8 MB, free: 8.711 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.0008397/0.0008401, allocations: 89.77 kB / 292.8 MB, free: 7.965 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.882e-05/2.884e-05, allocations: 3.984 kB / 352.2 MB, free: 12.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2774, allocations: 51.48 MB / 403.7 MB, free: 28.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09819/0.3757, allocations: 77.19 MB / 480.9 MB, free: 15.26 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001072/0.3758, allocations: 44.48 kB / 480.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005902/0.3817, allocations: 2.111 MB / 483 MB, free: 13.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3818, allocations: 0 / 483 MB, free: 13.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.734e-05/0.3818, allocations: 7.938 kB / 483 MB, free: 13.11 MB / 362.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.0006079/0.3824, allocations: 443.9 kB / 483.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.3825, allocations: 8.031 kB / 483.5 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.892e-05/0.3825, allocations: 11.91 kB / 483.5 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002217/0.3827, allocations: 199.3 kB / 483.7 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.3828, allocations: 8 kB / 483.7 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.3828, allocations: 4 kB / 483.7 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002272/0.383, allocations: 147.7 kB / 483.8 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.383, allocations: 0 / 483.8 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.3831, allocations: 4 kB / 483.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.3831, allocations: 4 kB / 483.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.3832, allocations: 63.91 kB / 483.9 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008458/0.3841, allocations: 0.7238 MB / 484.6 MB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.3843, allocations: 125.1 kB / 484.7 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.766e-05/0.3844, allocations: 56.38 kB / 484.8 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.3844, allocations: 11.92 kB / 484.8 MB, free: 11.08 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001999/0.3846, allocations: 127.5 kB / 484.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.3846, allocations: 4 kB / 484.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002794/0.3849, allocations: 125.3 kB / 485.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.175e-05/0.385, allocations: 166.2 kB / 485.2 MB, free: 10.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.3852, allocations: 142.9 kB / 485.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.3852, allocations: 33.64 kB / 485.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.426e-05/0.3853, allocations: 112 kB / 485.5 MB, free: 10.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.94e-05/0.3853, allocations: 23.78 kB / 485.5 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.558e-06/0.3853, allocations: 8 kB / 485.5 MB, free: 10.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.3855, allocations: 323.4 kB / 485.8 MB, free: 9.941 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.242e-05/0.3856, allocations: 27.98 kB / 485.9 MB, free: 9.914 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.267e-05/0.3856, allocations: 68.27 kB / 485.9 MB, free: 9.832 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.708e-05/0.3858, allocations: 65.62 kB / 486 MB, free: 9.762 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3858, allocations: 0 / 486 MB, free: 9.762 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002555/0.386, allocations: 164.3 kB / 486.2 MB, free: 9.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.343e-05/0.3861, allocations: 33.7 kB / 486.2 MB, free: 9.551 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.3861, allocations: 0 / 486.2 MB, free: 9.551 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.3861, allocations: 7.953 kB / 486.2 MB, free: 9.543 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/0.3863, allocations: 40.03 kB / 486.2 MB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.3863, allocations: 4 kB / 486.2 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001572/0.3865, allocations: 27.91 kB / 486.3 MB, free: 9.473 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.3865, allocations: 4 kB / 486.3 MB, free: 9.469 MB / 362.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 () * 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 9.086e-05/0.3866, allocations: 111.6 kB / 486.4 MB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.811e-05/0.3867, allocations: 23.84 kB / 486.4 MB, free: 9.332 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001542/0.3868, allocations: 77.62 kB / 486.5 MB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.3868, allocations: 7.953 kB / 486.5 MB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.3868, allocations: 0 / 486.5 MB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.3869, allocations: 7.984 kB / 486.5 MB, free: 9.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000293/0.3872, allocations: 322.5 kB / 486.8 MB, free: 8.859 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.3872, allocations: 4 kB / 486.8 MB, free: 8.855 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000135/0.3873, allocations: 28.05 kB / 486.8 MB, free: 8.828 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.722e-06/0.3873, allocations: 4 kB / 486.9 MB, free: 8.824 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/0.3873, allocations: 15.88 kB / 486.9 MB, free: 8.809 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.3874, allocations: 4 kB / 486.9 MB, free: 8.805 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3874, allocations: 0 / 486.9 MB, free: 8.805 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003171/0.3877, allocations: 281.6 kB / 487.1 MB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.357e-05/0.3878, allocations: 96.84 kB / 487.2 MB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.298e-05/0.3878, allocations: 0 / 487.2 MB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.388, allocations: 27.98 kB / 487.3 MB, free: 8.336 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.186e-05/0.388, allocations: 27.92 kB / 487.3 MB, free: 8.309 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.3881, allocations: 11.98 kB / 487.3 MB, free: 8.297 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.357e-05/0.3882, allocations: 124.2 kB / 487.4 MB, free: 8.176 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3882, allocations: 3.938 kB / 487.4 MB, free: 8.172 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002428/0.3884, allocations: 20 kB / 487.5 MB, free: 8.152 MB / 362.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) * 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 0.0001128/0.3885, allocations: 103.2 kB / 487.6 MB, free: 8.043 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002412/0.3888, allocations: 147.2 kB / 487.7 MB, free: 7.887 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3888, allocations: 0 / 487.7 MB, free: 7.887 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.3889, allocations: 55.92 kB / 487.7 MB, free: 7.832 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.3892, allocations: 11.98 kB / 487.8 MB, free: 7.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004479/0.3896, allocations: 189.3 kB / 487.9 MB, free: 7.602 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004094/0.39, allocations: 0.7199 MB / 488.7 MB, free: 6.855 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.2e-05/0.3901, allocations: 20.41 kB / 488.7 MB, free: 6.832 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.99e-05/0.3902, allocations: 11.44 kB / 488.7 MB, free: 6.824 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.3902, allocations: 4 kB / 488.7 MB, free: 6.82 MB / 362.7 MB Notification: Performance of Templates: time 0.003534/0.3937, allocations: 1.128 MB / 489.8 MB, free: 5.695 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)