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: "" <> buildModelFMU(BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample,fileNamePrefix="BuildSysPro_BuildSysPro_BoundaryConditions_Scenarios_Examples_StepFunctionExample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample,fileNamePrefix="BuildSysPro_BuildSysPro_BoundaryConditions_Scenarios_Examples_StepFunctionExample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7368/0.7368, allocations: 127.3 MB / 139.8 MB, free: 15.46 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.001099/0.001099, 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.978/1.978, allocations: 205.1 MB / 404.5 MB, free: 1.66 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.0009339/0.0009338, allocations: 88.06 kB / 481.8 MB, free: 4.305 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.702e-05/3.705e-05, allocations: 0 / 0.5533 GB, free: 54.77 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1842, allocations: 76.75 MB / 0.6282 GB, free: 9.957 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5849/0.7692, allocations: 103.9 MB / 0.7297 GB, free: 9.535 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001835/0.7694, allocations: 56.97 kB / 0.7297 GB, free: 9.508 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02711/0.7965, allocations: 10.23 MB / 0.7397 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.657e-06/0.7966, allocations: 0 / 0.7397 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.621e-05/0.7967, allocations: 19.92 kB / 0.7397 GB, free: 0.7539 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.001566/0.7983, allocations: 0.7436 MB / 0.7404 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.609e-05/0.7984, allocations: 8.031 kB / 0.7405 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.917e-05/0.7985, allocations: 45.86 kB / 0.7405 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000151/0.7986, allocations: 70.67 kB / 0.7406 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009913/0.7996, allocations: 0.502 MB / 0.7411 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.7997, allocations: 7.562 kB / 0.7411 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.106e-05/0.7997, allocations: 7.438 kB / 0.7411 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004367/0.8001, allocations: 227.3 kB / 0.7413 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.8002, allocations: 8 kB / 0.7413 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.8002, allocations: 3.938 kB / 0.7413 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.571e-05/0.8002, allocations: 11.19 kB / 0.7413 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004828/0.8007, allocations: 282.2 kB / 0.7416 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/0.8021, allocations: 0.8913 MB / 0.7424 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000422/0.8025, allocations: 287.1 kB / 0.7427 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.8027, allocations: 129 kB / 0.7428 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.495e-05/0.8028, allocations: 11.44 kB / 0.7429 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.8028, allocations: 38.56 kB / 0.7429 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=23): time 1.463e-06/0.8028, allocations: 0 / 0.7429 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23): time 0.0006212/0.8035, allocations: 301.8 kB / 0.7432 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.997e-05/0.8036, allocations: 81.11 kB / 0.7433 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.8046, allocations: 0.788 MB / 0.744 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.182e-05/0.8047, allocations: 29.33 kB / 0.7441 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002279/0.8049, allocations: 281.1 kB / 0.7443 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.349e-05/0.805, allocations: 54.48 kB / 0.7444 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.434e-05/0.805, allocations: 7.938 kB / 0.7444 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001968/0.8052, allocations: 375.8 kB / 0.7447 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.8054, allocations: 107.4 kB / 0.7448 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.8056, allocations: 131.7 kB / 0.745 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.8057, allocations: 78 kB / 0.745 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.8057, allocations: 0 / 0.745 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004474/0.8062, allocations: 305.6 kB / 0.7453 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.8062, allocations: 4 kB / 0.7453 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.8062, allocations: 4 kB / 0.7453 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.8062, allocations: 7.938 kB / 0.7453 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004027/0.8066, allocations: 87.42 kB / 0.7454 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.8067, allocations: 8 kB / 0.7454 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000263/0.8069, allocations: 63.78 kB / 0.7455 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.439e-05/0.807, allocations: 10.62 kB / 0.7455 GB, free: 11.61 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.0001173/0.8071, allocations: 127 kB / 0.7456 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.8072, allocations: 63.2 kB / 0.7457 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005978/0.8078, allocations: 356.2 kB / 0.746 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/0.8078, allocations: 4 kB / 0.746 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.8079, allocations: 0 / 0.746 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.8079, allocations: 15.94 kB / 0.746 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006026/0.8085, allocations: 0.4921 MB / 0.7465 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.8085, allocations: 0 / 0.7465 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003791/0.8089, allocations: 95.86 kB / 0.7466 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.8089, allocations: 3.953 kB / 0.7466 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.698e-05/0.8089, allocations: 7.562 kB / 0.7466 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.8089, allocations: 3.984 kB / 0.7466 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.809, allocations: 0 / 0.7466 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006325/0.8096, allocations: 487.5 kB / 0.7471 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002493/0.8099, allocations: 191.5 kB / 0.7473 GB, free: 9.969 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.534e-05/0.8099, allocations: 3.25 kB / 0.7473 GB, free: 9.969 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003227/0.8102, allocations: 59 kB / 0.7473 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002124/0.8105, allocations: 94.77 kB / 0.7474 GB, free: 9.828 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.8105, allocations: 7.312 kB / 0.7474 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0008693/0.8114, allocations: 0.6222 MB / 0.748 GB, free: 9.215 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8114, allocations: 3.938 kB / 0.7481 GB, free: 9.211 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004096/0.8118, allocations: 87.83 kB / 0.7481 GB, free: 9.125 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.001732/0.8135, allocations: 1.325 MB / 0.7494 GB, free: 7.871 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004823/0.814, allocations: 263.6 kB / 0.7497 GB, free: 7.613 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.8141, allocations: 0 / 0.7497 GB, free: 7.613 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002799/0.8143, allocations: 172.5 kB / 0.7498 GB, free: 7.445 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005005/0.8148, allocations: 75.05 kB / 0.7499 GB, free: 7.371 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001771/0.8166, allocations: 0.9487 MB / 0.7508 GB, free: 6.383 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005843/0.8172, allocations: 0.9048 MB / 0.7517 GB, free: 5.453 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002812/0.8175, allocations: 118.9 kB / 0.7518 GB, free: 5.336 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003154/0.8178, allocations: 191.4 kB / 0.752 GB, free: 5.148 MB / 0.4948 GB Notification: Performance of SimCode: time 4.81e-07/0.8178, allocations: 0 / 0.752 GB, free: 5.148 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02561/0.8435, allocations: 10.5 MB / 0.7623 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001948/0.8437, allocations: 221 kB / 0.7625 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.228/3.072, allocations: 4 kB / 0.7625 GB, free: 10.52 MB / 0.5105 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_BoundaryConditions_Scenarios_Examples_StepFunctionExample_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_BoundaryConditions_Scenarios_Examples_StepFunctionExample.fmu > BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.pipe 2>&1)