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.765/0.765, allocations: 128.7 MB / 143.7 MB, free: 2.324 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.001103/0.001103, allocations: 186.4 kB / 173.7 MB, free: 6.133 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.891/1.891, allocations: 205.4 MB / 409 MB, free: 10.53 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.0009265/0.0009265, allocations: 93.39 kB / 486.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004273/0.0004276, allocations: 9.859 kB / 0.5604 GB, free: 97.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1723, allocations: 76.77 MB / 0.6354 GB, free: 30.49 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1489/0.3213, allocations: 103.9 MB / 0.7369 GB, free: 6.402 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002076/0.3216, allocations: 51.98 kB / 0.7369 GB, free: 6.352 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.3319/0.6535, allocations: 10.26 MB / 0.747 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.737e-06/0.6536, allocations: 0 / 0.747 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.525e-05/0.6537, allocations: 12.97 kB / 0.747 GB, free: 107.7 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.001635/0.6553, allocations: 0.8668 MB / 0.7478 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.6554, allocations: 13.3 kB / 0.7478 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.204e-05/0.6555, allocations: 42.77 kB / 0.7479 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002019/0.6557, allocations: 70.3 kB / 0.7479 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/0.6568, allocations: 0.5067 MB / 0.7484 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.6568, allocations: 9.234 kB / 0.7484 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.335e-05/0.6568, allocations: 6.344 kB / 0.7485 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008101/0.6577, allocations: 331.6 kB / 0.7488 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.6577, allocations: 0.7031 kB / 0.7488 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.162e-05/0.6577, allocations: 5.094 kB / 0.7488 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.434e-05/0.6578, allocations: 19.56 kB / 0.7488 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.6589, allocations: 482.9 kB / 0.7493 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001419/0.6603, allocations: 0.8914 MB / 0.7501 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001226/0.6616, allocations: 0.5703 MB / 0.7507 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.1e-05/0.6616, allocations: 11.36 kB / 0.7507 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.6616, allocations: 46.72 kB / 0.7507 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=23): time 1.833e-06/0.6617, allocations: 0 / 0.7507 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=23): time 0.001535/0.6632, allocations: 0.6985 MB / 0.7514 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.6632, allocations: 80.7 kB / 0.7515 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.6644, allocations: 0.7973 MB / 0.7523 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.6644, allocations: 30.55 kB / 0.7523 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/0.6646, allocations: 279.6 kB / 0.7526 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.831e-05/0.6647, allocations: 66.77 kB / 0.7526 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.476e-05/0.6647, allocations: 4.844 kB / 0.7526 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.6649, allocations: 376.4 kB / 0.753 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005179/0.6654, allocations: 206.6 kB / 0.7532 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004933/0.6659, allocations: 232 kB / 0.7534 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004352/0.6663, allocations: 186.3 kB / 0.7536 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.6664, allocations: 0 / 0.7536 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001089/0.6674, allocations: 0.4957 MB / 0.7541 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.6675, allocations: 4.125 kB / 0.7541 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.6675, allocations: 6.078 kB / 0.7541 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.6675, allocations: 1.375 kB / 0.7541 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003999/0.6679, allocations: 92.89 kB / 0.7542 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.6679, allocations: 5.375 kB / 0.7542 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002967/0.6683, allocations: 72.88 kB / 0.7543 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.839e-05/0.6683, allocations: 10.55 kB / 0.7543 GB, free: 105.3 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.0003042/0.6686, allocations: 243.2 kB / 0.7545 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.6687, allocations: 65.16 kB / 0.7546 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/0.67, allocations: 0.551 MB / 0.7551 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.67, allocations: 2.438 kB / 0.7551 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.67, allocations: 1.406 kB / 0.7551 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.67, allocations: 6.766 kB / 0.7551 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006987/0.6707, allocations: 0.4942 MB / 0.7556 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-06/0.6707, allocations: 2.484 kB / 0.7556 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003595/0.6711, allocations: 93.88 kB / 0.7557 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.328e-06/0.6711, allocations: 7.391 kB / 0.7557 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.741e-05/0.6712, allocations: 6.266 kB / 0.7557 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.6712, allocations: 1.828 kB / 0.7557 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.6712, allocations: 4.938 kB / 0.7557 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/0.6724, allocations: 0.6855 MB / 0.7564 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002583/0.6727, allocations: 178.2 kB / 0.7565 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.353e-05/0.6728, allocations: 6.094 kB / 0.7565 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003124/0.6731, allocations: 58 kB / 0.7566 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001958/0.6733, allocations: 90.89 kB / 0.7567 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-05/0.6733, allocations: 8.844 kB / 0.7567 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008284/0.6741, allocations: 0.6278 MB / 0.7573 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6741, allocations: 0 / 0.7573 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004593/0.6746, allocations: 83.28 kB / 0.7574 GB, free: 104.4 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.00221/0.6768, allocations: 1.581 MB / 0.7589 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001084/0.6779, allocations: 456 kB / 0.7594 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.6779, allocations: 0 / 0.7594 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005809/0.6785, allocations: 278.6 kB / 0.7596 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005456/0.6791, allocations: 74.94 kB / 0.7597 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006953/0.6861, allocations: 3.869 MB / 0.7635 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004085/0.6865, allocations: 0.9086 MB / 0.7644 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003575/0.6869, allocations: 120.5 kB / 0.7645 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003462/0.6872, allocations: 192.6 kB / 0.7647 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of SimCode: time 9.62e-07/0.6872, allocations: 0 / 0.7647 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02632/0.7136, allocations: 10.66 MB / 0.7751 GB, free: 94.74 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000142/0.7138, allocations: 235.7 kB / 0.7753 GB, free: 94.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.48/3.193, allocations: 0 / 0.7753 GB, free: 94.5 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)