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.7244/0.7244, allocations: 127.3 MB / 139.8 MB, free: 15.44 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001129/0.001129, allocations: 180.8 kB / 169.7 MB, free: 1.742 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.826/1.826, allocations: 205.1 MB / 404.5 MB, free: 1.59 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.0008712/0.0008715, allocations: 86.16 kB / 481.8 MB, free: 4.242 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.75e-05/2.753e-05, allocations: 0 / 0.5532 GB, free: 54.86 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1511, allocations: 76.75 MB / 0.6281 GB, free: 10.05 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5276/0.6787, allocations: 103.9 MB / 0.7296 GB, free: 9.574 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/0.679, allocations: 58.66 kB / 0.7296 GB, free: 9.547 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02669/0.7057, allocations: 10.22 MB / 0.7396 GB, free: 0.8086 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.7058, allocations: 0 / 0.7396 GB, free: 0.8086 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.341e-05/0.7058, allocations: 15.94 kB / 0.7396 GB, free: 0.793 MB / 490.7 MB 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.001003/0.7068, allocations: 0.746 MB / 0.7403 GB, free: 32 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.7069, allocations: 8.031 kB / 0.7404 GB, free: 24 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001186/0.707, allocations: 71.09 kB / 0.7404 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008251/0.7078, allocations: 0.5016 MB / 0.7409 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.7079, allocations: 6.5 kB / 0.7409 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.106e-05/0.7079, allocations: 11.38 kB / 0.7409 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003724/0.7083, allocations: 226.2 kB / 0.7411 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.7083, allocations: 3.984 kB / 0.7411 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.702e-05/0.7083, allocations: 7.688 kB / 0.7412 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.869e-05/0.7084, allocations: 11.98 kB / 0.7412 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004453/0.7088, allocations: 275.2 kB / 0.7414 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.71, allocations: 0.8938 MB / 0.7423 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004018/0.7105, allocations: 286.9 kB / 0.7426 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/0.7106, allocations: 133.3 kB / 0.7427 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.346e-05/0.7107, allocations: 7.938 kB / 0.7427 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.7107, allocations: 37.88 kB / 0.7427 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=23): time 1.332e-06/0.7107, allocations: 0 / 0.7427 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23): time 0.0005281/0.7113, allocations: 299.1 kB / 0.743 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/0.7113, allocations: 81.11 kB / 0.7431 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009123/0.7122, allocations: 0.794 MB / 0.7439 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.7123, allocations: 25.7 kB / 0.7439 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001939/0.7125, allocations: 282.6 kB / 0.7442 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.979e-05/0.7126, allocations: 61.28 kB / 0.7442 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.533e-05/0.7126, allocations: 3.625 kB / 0.7442 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001981/0.7128, allocations: 375.1 kB / 0.7446 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.713, allocations: 103.7 kB / 0.7447 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001698/0.7132, allocations: 133.2 kB / 0.7448 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.7133, allocations: 81.17 kB / 0.7449 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.7133, allocations: 0 / 0.7449 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004295/0.7137, allocations: 310.7 kB / 0.7452 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.7138, allocations: 4 kB / 0.7452 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.7138, allocations: 0 / 0.7452 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.7138, allocations: 4 kB / 0.7452 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000417/0.7142, allocations: 91.86 kB / 0.7453 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.7143, allocations: 4 kB / 0.7453 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002675/0.7145, allocations: 71.2 kB / 0.7454 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.62e-05/0.7146, allocations: 11.55 kB / 0.7454 GB, free: 11.69 MB / 0.4948 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.0001002/0.7147, allocations: 116.1 kB / 0.7455 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.7148, allocations: 67.2 kB / 0.7455 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005847/0.7154, allocations: 359.6 kB / 0.7459 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.7154, allocations: 4 kB / 0.7459 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.7154, allocations: 3.984 kB / 0.7459 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.7154, allocations: 0 / 0.7459 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000569/0.716, allocations: 498 kB / 0.7464 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.716, allocations: 3.984 kB / 0.7464 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003641/0.7164, allocations: 95.3 kB / 0.7465 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.7164, allocations: 3.953 kB / 0.7465 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.582e-05/0.7164, allocations: 15.75 kB / 0.7465 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.7164, allocations: 0 / 0.7465 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.7164, allocations: 0 / 0.7465 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000556/0.717, allocations: 490.7 kB / 0.747 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002054/0.7172, allocations: 189.9 kB / 0.7471 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.78e-05/0.7173, allocations: 7.359 kB / 0.7471 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00032/0.7176, allocations: 59.2 kB / 0.7472 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001964/0.7178, allocations: 86.84 kB / 0.7473 GB, free: 9.918 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-05/0.7178, allocations: 11.86 kB / 0.7473 GB, free: 9.91 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007202/0.7186, allocations: 0.6194 MB / 0.7479 GB, free: 9.363 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7186, allocations: 0 / 0.7479 GB, free: 9.363 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003957/0.719, allocations: 83.84 kB / 0.748 GB, free: 9.281 MB / 0.4948 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.0007702/0.7198, allocations: 336 kB / 0.7483 GB, free: 9.047 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004266/0.7202, allocations: 263.6 kB / 0.7485 GB, free: 8.789 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.7202, allocations: 0 / 0.7485 GB, free: 8.789 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002771/0.7205, allocations: 175.8 kB / 0.7487 GB, free: 8.617 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004847/0.721, allocations: 74.12 kB / 0.7488 GB, free: 8.547 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.7223, allocations: 0.8223 MB / 0.7496 GB, free: 7.699 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005173/0.7228, allocations: 0.9048 MB / 0.7505 GB, free: 6.77 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000259/0.7231, allocations: 114.9 kB / 0.7506 GB, free: 6.656 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.7232, allocations: 47.42 kB / 0.7506 GB, free: 6.609 MB / 0.4948 GB Notification: Performance of SimCode: time 4.61e-07/0.7232, allocations: 0 / 0.7506 GB, free: 6.609 MB / 0.4948 GB Notification: Performance of Templates: time 0.0096/0.7328, allocations: 5.265 MB / 0.7558 GB, free: 1.344 MB / 0.4948 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)