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.0009988/0.0009987, allocations: 176.2 kB / 7.649 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.02119/0.02119, allocations: 4.55 MB / 12.62 MB, free: 288 kB / 7.832 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 221.5 MB / 235.6 MB, free: 2.246 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008221/0.0008221, allocations: 89.02 kB / 287.6 MB, free: 5.773 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.895e-05/1.898e-05, allocations: 0 / 345.3 MB, free: 7.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1059, allocations: 51.49 MB / 396.8 MB, free: 3.652 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3379/0.4439, allocations: 76.53 MB / 473.3 MB, free: 14.76 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001173/0.444, allocations: 40.81 kB / 473.3 MB, free: 14.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005934/0.45, allocations: 2.098 MB / 475.4 MB, free: 13.45 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.45, allocations: 4 kB / 475.5 MB, free: 13.45 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.45, allocations: 0 / 475.5 MB, free: 13.45 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.0005293/0.4505, allocations: 448.2 kB / 475.9 MB, free: 13 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.4506, allocations: 12.03 kB / 475.9 MB, free: 12.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.029e-05/0.4506, allocations: 8.422 kB / 475.9 MB, free: 12.98 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.4508, allocations: 200.3 kB / 476.1 MB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.4508, allocations: 0 / 476.1 MB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.4509, allocations: 5.406 kB / 476.1 MB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001431/0.451, allocations: 61.5 kB / 476.2 MB, free: 12.71 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.4512, allocations: 129.8 kB / 476.3 MB, free: 12.6 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.4512, allocations: 0 / 476.3 MB, free: 12.6 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.4512, allocations: 1.375 kB / 476.3 MB, free: 12.6 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.4513, allocations: 4 kB / 476.3 MB, free: 12.6 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006489/0.4519, allocations: 0.6909 MB / 477 MB, free: 11.94 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.452, allocations: 128.2 kB / 477.1 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.794e-05/0.4521, allocations: 58 kB / 477.2 MB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.4521, allocations: 4 kB / 477.2 MB, free: 11.72 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001669/0.4523, allocations: 123.4 kB / 477.3 MB, free: 11.61 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.4523, allocations: 0 / 477.3 MB, free: 11.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002484/0.4526, allocations: 119.6 kB / 477.4 MB, free: 11.51 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.4526, allocations: 159.6 kB / 477.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.214e-05/0.4527, allocations: 132.8 kB / 477.7 MB, free: 11.2 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.4528, allocations: 25.7 kB / 477.7 MB, free: 11.17 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.145e-05/0.4528, allocations: 119.4 kB / 477.8 MB, free: 11.07 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/0.4528, allocations: 28.31 kB / 477.9 MB, free: 11.04 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.298e-06/0.4529, allocations: 0 / 477.9 MB, free: 11.04 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.127e-05/0.4529, allocations: 327.2 kB / 478.2 MB, free: 10.73 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.488e-05/0.453, allocations: 27.22 kB / 478.2 MB, free: 10.71 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.286e-05/0.4531, allocations: 64.88 kB / 478.3 MB, free: 10.65 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.531e-05/0.4531, allocations: 36.72 kB / 478.3 MB, free: 10.63 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4531, allocations: 0 / 478.3 MB, free: 10.63 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001819/0.4533, allocations: 123.6 kB / 478.4 MB, free: 10.54 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.4533, allocations: 35.27 kB / 478.5 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.4534, allocations: 1.594 kB / 478.5 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.4534, allocations: 0 / 478.5 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.4535, allocations: 38.09 kB / 478.5 MB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.4536, allocations: 17.45 kB / 478.5 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001457/0.4537, allocations: 26.52 kB / 478.6 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.4537, allocations: 4 kB / 478.6 MB, free: 10.43 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 () * 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 6.227e-05/0.4538, allocations: 107.4 kB / 478.7 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.186e-05/0.4538, allocations: 13.41 kB / 478.7 MB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/0.454, allocations: 76.36 kB / 478.7 MB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.454, allocations: 4 kB / 478.8 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.454, allocations: 0 / 478.8 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.454, allocations: 9.641 kB / 478.8 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.4542, allocations: 295.5 kB / 479.1 MB, free: 9.949 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.4542, allocations: 4 kB / 479.1 MB, free: 9.945 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.4543, allocations: 29.92 kB / 479.1 MB, free: 9.922 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.4543, allocations: 5.453 kB / 479.1 MB, free: 9.918 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.4544, allocations: 0 / 479.1 MB, free: 9.918 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.4544, allocations: 11.88 kB / 479.1 MB, free: 9.906 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.4544, allocations: 5.594 kB / 479.1 MB, free: 9.902 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000183/0.4546, allocations: 276.2 kB / 479.4 MB, free: 9.617 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.831e-05/0.4546, allocations: 90.17 kB / 479.5 MB, free: 9.512 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/0.4546, allocations: 4 kB / 479.5 MB, free: 9.508 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.4548, allocations: 22.61 kB / 479.5 MB, free: 9.492 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.637e-05/0.4549, allocations: 18.36 kB / 479.5 MB, free: 9.484 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.4549, allocations: 5.031 kB / 479.5 MB, free: 9.48 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.987e-05/0.4549, allocations: 113.2 kB / 479.6 MB, free: 9.387 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4549, allocations: 2.906 kB / 479.6 MB, free: 9.387 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002429/0.4552, allocations: 23.91 kB / 479.7 MB, free: 9.363 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) * 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 8.752e-05/0.4553, allocations: 107.4 kB / 479.8 MB, free: 9.25 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001812/0.4555, allocations: 131.9 kB / 479.9 MB, free: 9.137 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.4555, allocations: 0 / 479.9 MB, free: 9.137 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.921e-05/0.4556, allocations: 51.69 kB / 479.9 MB, free: 9.105 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.4558, allocations: 14.45 kB / 479.9 MB, free: 9.098 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000362/0.4562, allocations: 182.6 kB / 480.1 MB, free: 8.93 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001393/0.4563, allocations: 0.7175 MB / 480.8 MB, free: 8.203 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.012e-05/0.4564, allocations: 20.22 kB / 480.9 MB, free: 8.188 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.706e-05/0.4564, allocations: 12.61 kB / 480.9 MB, free: 8.184 MB / 346.7 MB Notification: Performance of SimCode: time 2.1e-07/0.4564, allocations: 0 / 480.9 MB, free: 8.184 MB / 346.7 MB Notification: Performance of Templates: time 0.002763/0.4592, allocations: 1.009 MB / 481.9 MB, free: 7.648 MB / 346.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)