Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=28800,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample") translateModel(BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=28800,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7649/0.7649, allocations: 127.4 MB / 134.9 MB, free: 3.484 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001469/0.001469, allocations: 172.9 kB / 164.6 MB, free: 11.62 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.789/1.789, allocations: 205.2 MB / 399.5 MB, free: 13.51 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009409/0.0009411, allocations: 86.41 kB / 476.7 MB, free: 1.465 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.546e-05/1.55e-05, allocations: 0.9375 kB / 0.5465 GB, free: 95.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1748, allocations: 76.77 MB / 0.6215 GB, free: 43.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1458/0.3206, allocations: 103.2 MB / 0.7223 GB, free: 3.773 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001656/0.3208, allocations: 55.97 kB / 0.7223 GB, free: 3.719 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02796/0.3488, allocations: 10.13 MB / 0.7322 GB, free: 9.57 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.704e-06/0.3489, allocations: 0 / 0.7322 GB, free: 9.57 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.948e-05/0.349, allocations: 16 kB / 0.7322 GB, free: 9.555 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.00126/0.3502, allocations: 0.735 MB / 0.733 GB, free: 8.773 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.3503, allocations: 12.03 kB / 0.733 GB, free: 8.762 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001933/0.3505, allocations: 67.11 kB / 0.733 GB, free: 8.695 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009208/0.3514, allocations: 0.5036 MB / 0.7335 GB, free: 8.152 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.3515, allocations: 4 kB / 0.7335 GB, free: 8.148 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.311e-05/0.3515, allocations: 8 kB / 0.7335 GB, free: 8.141 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003352/0.3518, allocations: 172.2 kB / 0.7337 GB, free: 7.969 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003398/0.3522, allocations: 212 kB / 0.7339 GB, free: 7.75 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.3522, allocations: 0 / 0.7339 GB, free: 7.75 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/0.3522, allocations: 4 kB / 0.7339 GB, free: 7.746 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.903e-05/0.3523, allocations: 12 kB / 0.7339 GB, free: 7.734 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001392/0.3537, allocations: 0.864 MB / 0.7348 GB, free: 6.828 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004298/0.3541, allocations: 277.1 kB / 0.735 GB, free: 6.539 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001831/0.3543, allocations: 122.1 kB / 0.7351 GB, free: 6.414 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.106e-05/0.3544, allocations: 15.91 kB / 0.7352 GB, free: 6.398 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.3544, allocations: 32.03 kB / 0.7352 GB, free: 6.359 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=23): time 1.392e-06/0.3544, allocations: 4 kB / 0.7352 GB, free: 6.355 MB / 0.5105 GB Notification: Performance of matching and sorting (n=23): time 0.0005555/0.355, allocations: 288.9 kB / 0.7355 GB, free: 6.066 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.71e-05/0.355, allocations: 81.11 kB / 0.7355 GB, free: 5.969 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.3561, allocations: 0.7533 MB / 0.7363 GB, free: 5.207 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/0.3561, allocations: 25.7 kB / 0.7363 GB, free: 5.176 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002198/0.3563, allocations: 284.5 kB / 0.7366 GB, free: 4.895 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.062e-05/0.3564, allocations: 51.17 kB / 0.7366 GB, free: 4.844 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.451e-05/0.3564, allocations: 0 / 0.7366 GB, free: 4.844 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001856/0.3566, allocations: 382.8 kB / 0.737 GB, free: 4.461 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.3568, allocations: 99.89 kB / 0.7371 GB, free: 4.363 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.357, allocations: 125.5 kB / 0.7372 GB, free: 4.234 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.3571, allocations: 75.94 kB / 0.7373 GB, free: 4.16 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3571, allocations: 0 / 0.7373 GB, free: 4.16 MB / 0.5105 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004412/0.3576, allocations: 292.8 kB / 0.7376 GB, free: 3.867 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.3576, allocations: 9.516 kB / 0.7376 GB, free: 3.859 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.3576, allocations: 0 / 0.7376 GB, free: 3.859 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.3576, allocations: 4 kB / 0.7376 GB, free: 3.855 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004409/0.3581, allocations: 95.86 kB / 0.7377 GB, free: 3.762 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.3581, allocations: 4 kB / 0.7377 GB, free: 3.758 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000298/0.3584, allocations: 59.8 kB / 0.7377 GB, free: 3.699 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.755e-05/0.3585, allocations: 11.98 kB / 0.7377 GB, free: 3.688 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (fctEsc1.u[1],fctEsc1.u[2],fctEsc1.u[3],fctEsc1.u[4],fctEsc1.u[5],fctEscPer1.u[1],fctEscPer1.u[2],fctEscPer1.u[3],fctEscPer1.u[4],fctEscPer1.u[5]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0001029/0.3586, allocations: 109 kB / 0.7378 GB, free: 3.574 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.3587, allocations: 59.25 kB / 0.7379 GB, free: 3.516 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005841/0.3593, allocations: 350.4 kB / 0.7382 GB, free: 3.16 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.3593, allocations: 4 kB / 0.7382 GB, free: 3.156 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.3593, allocations: 4 kB / 0.7382 GB, free: 3.152 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.3593, allocations: 3.984 kB / 0.7382 GB, free: 3.148 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000599/0.3599, allocations: 469.7 kB / 0.7387 GB, free: 2.652 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3599, allocations: 4 kB / 0.7387 GB, free: 2.648 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003729/0.3603, allocations: 95.84 kB / 0.7388 GB, free: 2.555 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/0.3603, allocations: 4 kB / 0.7388 GB, free: 2.551 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.145e-05/0.3604, allocations: 3.938 kB / 0.7388 GB, free: 2.547 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3604, allocations: 4 kB / 0.7388 GB, free: 2.543 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.3604, allocations: 3.953 kB / 0.7388 GB, free: 2.539 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005279/0.3609, allocations: 475.5 kB / 0.7392 GB, free: 2.051 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002076/0.3611, allocations: 176.3 kB / 0.7394 GB, free: 1.859 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.369e-05/0.3612, allocations: 4 kB / 0.7394 GB, free: 1.855 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000328/0.3615, allocations: 59.89 kB / 0.7395 GB, free: 1.797 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002365/0.3618, allocations: 91.78 kB / 0.7396 GB, free: 1.707 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.261e-05/0.3618, allocations: 11.98 kB / 0.7396 GB, free: 1.695 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007643/0.3626, allocations: 0.5928 MB / 0.7402 GB, free: 1.105 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3626, allocations: 0 / 0.7402 GB, free: 1.105 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000437/0.363, allocations: 75.84 kB / 0.7402 GB, free: 1.031 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (fctEsc1.u[1],fctEsc1.u[2],fctEsc1.u[3],fctEsc1.u[4],fctEsc1.u[5],fctEscPer1.u[1],fctEscPer1.u[2],fctEscPer1.u[3],fctEscPer1.u[4],fctEscPer1.u[5]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0007449/0.3638, allocations: 311.8 kB / 0.7405 GB, free: 0.793 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004241/0.3642, allocations: 243.7 kB / 0.7408 GB, free: 0.5547 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3642, allocations: 0 / 0.7408 GB, free: 0.5547 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002718/0.3645, allocations: 175.7 kB / 0.7409 GB, free: 392 kB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005295/0.3651, allocations: 71.91 kB / 0.741 GB, free: 320 kB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3378/0.7029, allocations: 0.7861 MB / 0.7418 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004152/0.7034, allocations: 0.9033 MB / 0.7426 GB, free: 113 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003791/0.7038, allocations: 114.3 kB / 0.7428 GB, free: 113 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/0.7039, allocations: 42.5 kB / 0.7428 GB, free: 113 MB / 0.5105 GB Notification: Performance of SimCode: time 1.442e-06/0.7039, allocations: 0.8125 kB / 0.7428 GB, free: 113 MB / 0.5105 GB Notification: Performance of Templates: time 0.01233/0.7163, allocations: 4.602 MB / 0.7473 GB, free: 112.8 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.makefile (rm -f BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.pipe ; mkfifo BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.pipe >> ../files/BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.sim & ./BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.pipe 2>&1)