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.4.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.4.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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6526/0.6526, allocations: 117.9 MB / 133.9 MB, free: 4.492 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.000995/0.0009951, allocations: 181.8 kB / 161.7 MB, free: 2.715 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.898/1.898, allocations: 205.4 MB / 394.8 MB, free: 20.91 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.0009051/0.0009051, allocations: 93.59 kB / 470.1 MB, free: 12.11 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004186/0.0004187, allocations: 12 kB / 0.5423 GB, free: 6.828 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.3612, allocations: 74.53 MB / 0.6151 GB, free: 54.09 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1292/0.4904, allocations: 102.8 MB / 0.7155 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/0.4907, allocations: 51.98 kB / 0.7156 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02863/0.5194, allocations: 10.31 MB / 0.7257 GB, free: 4.715 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.475e-06/0.5194, allocations: 0 / 0.7257 GB, free: 4.715 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.709e-05/0.5195, allocations: 12 kB / 0.7257 GB, free: 4.703 MB / 0.4948 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.001445/0.521, allocations: 0.8671 MB / 0.7265 GB, free: 3.781 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.521, allocations: 8.031 kB / 0.7265 GB, free: 3.773 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001725/0.5212, allocations: 60.19 kB / 0.7266 GB, free: 3.715 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009323/0.5221, allocations: 0.5392 MB / 0.7271 GB, free: 3.137 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.5222, allocations: 8.375 kB / 0.7271 GB, free: 3.129 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.231e-05/0.5222, allocations: 8.375 kB / 0.7271 GB, free: 3.121 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007095/0.5229, allocations: 336.4 kB / 0.7274 GB, free: 2.777 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.5229, allocations: 192 / 0.7274 GB, free: 2.777 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/0.523, allocations: 7.938 kB / 0.7275 GB, free: 2.77 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.879e-05/0.523, allocations: 15.98 kB / 0.7275 GB, free: 2.754 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001046/0.5241, allocations: 471.5 kB / 0.7279 GB, free: 2.293 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00133/0.5254, allocations: 0.9025 MB / 0.7288 GB, free: 1.336 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001318/0.5267, allocations: 0.5671 MB / 0.7294 GB, free: 0.75 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004984/0.5273, allocations: 237.7 kB / 0.7296 GB, free: 0.5117 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.765e-05/0.5273, allocations: 11.98 kB / 0.7296 GB, free: 0.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.5274, allocations: 38.56 kB / 0.7296 GB, free: 464 kB / 0.4948 GB Notification: Performance of pre-optimization done (n=23): time 1.853e-06/0.5274, allocations: 0 / 0.7296 GB, free: 464 kB / 0.4948 GB Notification: Performance of matching and sorting (n=23): time 0.001736/0.5291, allocations: 0.7035 MB / 0.7303 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/0.5292, allocations: 81.11 kB / 0.7304 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001254/0.5304, allocations: 0.8672 MB / 0.7312 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.822e-05/0.5305, allocations: 33.7 kB / 0.7313 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002171/0.5307, allocations: 276.5 kB / 0.7315 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.055e-05/0.5308, allocations: 63.11 kB / 0.7316 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.157e-05/0.5308, allocations: 4 kB / 0.7316 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001839/0.531, allocations: 378.8 kB / 0.732 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000468/0.5315, allocations: 215.6 kB / 0.7322 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004744/0.532, allocations: 226.8 kB / 0.7324 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008946/0.5329, allocations: 386.2 kB / 0.7327 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.5329, allocations: 0 / 0.7327 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00116/0.5341, allocations: 0.4966 MB / 0.7332 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.5341, allocations: 9.812 kB / 0.7332 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.5341, allocations: 0 / 0.7332 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.5341, allocations: 3.938 kB / 0.7332 GB, free: 12.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004014/0.5345, allocations: 95.92 kB / 0.7333 GB, free: 12.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/0.5346, allocations: 3.938 kB / 0.7333 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003057/0.5349, allocations: 63.8 kB / 0.7334 GB, free: 12.51 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.201e-05/0.5349, allocations: 15.98 kB / 0.7334 GB, free: 12.5 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 () * Number of clocked 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.000314/0.5352, allocations: 241.7 kB / 0.7336 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001436/0.5354, allocations: 63.25 kB / 0.7337 GB, free: 12.19 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/0.5366, allocations: 0.5491 MB / 0.7342 GB, free: 11.63 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.5366, allocations: 4 kB / 0.7342 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.5366, allocations: 3.938 kB / 0.7343 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.5367, allocations: 0 / 0.7343 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006462/0.5373, allocations: 0.501 MB / 0.7347 GB, free: 11.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.5373, allocations: 4 kB / 0.7347 GB, free: 11.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003392/0.5377, allocations: 91.86 kB / 0.7348 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.5377, allocations: 0 / 0.7348 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.472e-05/0.5377, allocations: 12 kB / 0.7348 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.5377, allocations: 0 / 0.7348 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.5377, allocations: 3.938 kB / 0.7348 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001182/0.5389, allocations: 0.6731 MB / 0.7355 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002405/0.5392, allocations: 172.3 kB / 0.7357 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.663e-05/0.5393, allocations: 8 kB / 0.7357 GB, free: 10.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003146/0.5396, allocations: 63.95 kB / 0.7357 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002109/0.5398, allocations: 91.77 kB / 0.7358 GB, free: 9.926 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.719e-05/0.5398, allocations: 15.98 kB / 0.7358 GB, free: 9.91 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009202/0.5408, allocations: 0.6317 MB / 0.7365 GB, free: 9.281 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5408, allocations: 0 / 0.7365 GB, free: 9.281 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005201/0.5413, allocations: 83.92 kB / 0.7365 GB, free: 9.199 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 () * Number of clocked 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.0008976/0.5422, allocations: 376.2 kB / 0.7369 GB, free: 8.953 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001088/0.5433, allocations: 459.6 kB / 0.7373 GB, free: 8.504 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.5433, allocations: 0 / 0.7373 GB, free: 8.504 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006058/0.5439, allocations: 279.7 kB / 0.7376 GB, free: 8.23 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000686/0.5446, allocations: 76.48 kB / 0.7377 GB, free: 8.156 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/0.5466, allocations: 1.119 MB / 0.7388 GB, free: 7.004 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005117/0.5471, allocations: 0.8892 MB / 0.7396 GB, free: 6.086 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003003/0.5475, allocations: 118.9 kB / 0.7397 GB, free: 5.973 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.5476, allocations: 47.41 kB / 0.7398 GB, free: 5.926 MB / 0.5105 GB Notification: Performance of SimCode: time 5.81e-07/0.5476, allocations: 0 / 0.7398 GB, free: 5.926 MB / 0.5105 GB Notification: Performance of Templates: time 0.01119/0.5588, allocations: 5.269 MB / 0.7449 GB, free: 0.6641 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)