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.7681/0.7681, allocations: 127.4 MB / 134.9 MB, free: 3.738 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.001209/0.00121, allocations: 184.9 kB / 164.7 MB, free: 6.531 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.89/1.89, allocations: 205.2 MB / 399.5 MB, free: 5.871 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.0008537/0.0008539, allocations: 82.47 kB / 476.7 MB, free: 8.594 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.421e-05/2.466e-05, allocations: 0 / 0.5466 GB, free: 60.4 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1934/0.1934, allocations: 76.76 MB / 0.6216 GB, free: 15.57 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6092/0.8026, allocations: 103.5 MB / 0.7227 GB, free: 11.89 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001723/0.8029, allocations: 59.84 kB / 0.7227 GB, free: 11.86 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0281/0.831, allocations: 10.11 MB / 0.7326 GB, free: 3.375 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.831, allocations: 0 / 0.7326 GB, free: 3.375 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.423e-05/0.8311, allocations: 12 kB / 0.7326 GB, free: 3.363 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.001114/0.8322, allocations: 0.7427 MB / 0.7333 GB, free: 2.605 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.8323, allocations: 8.031 kB / 0.7333 GB, free: 2.598 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.8324, allocations: 71.05 kB / 0.7334 GB, free: 2.527 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007679/0.8332, allocations: 0.5056 MB / 0.7339 GB, free: 2.043 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.8332, allocations: 11.94 kB / 0.7339 GB, free: 2.031 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.77e-05/0.8332, allocations: 7.938 kB / 0.7339 GB, free: 2.023 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000302/0.8335, allocations: 175.5 kB / 0.7341 GB, free: 1.898 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003307/0.8339, allocations: 218.3 kB / 0.7343 GB, free: 1.723 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.8339, allocations: 3.984 kB / 0.7343 GB, free: 1.719 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.263e-05/0.8339, allocations: 0 / 0.7343 GB, free: 1.719 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.827e-05/0.834, allocations: 8 kB / 0.7343 GB, free: 1.711 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.8352, allocations: 0.8573 MB / 0.7352 GB, free: 0.9727 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003744/0.8356, allocations: 273.6 kB / 0.7354 GB, free: 0.7578 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.8357, allocations: 125.1 kB / 0.7355 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.019e-05/0.8358, allocations: 8.422 kB / 0.7355 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.8358, allocations: 46.44 kB / 0.7356 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of pre-optimization done (n=23): time 1.333e-06/0.8359, allocations: 0 / 0.7356 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of matching and sorting (n=23): time 0.0005275/0.8364, allocations: 284.4 kB / 0.7359 GB, free: 384 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/0.8365, allocations: 81.11 kB / 0.7359 GB, free: 284 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009458/0.8374, allocations: 0.7582 MB / 0.7367 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/0.8374, allocations: 25.7 kB / 0.7367 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001958/0.8377, allocations: 274.1 kB / 0.737 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.8378, allocations: 61.84 kB / 0.737 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.534e-05/0.8378, allocations: 0 / 0.737 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001975/0.838, allocations: 376 kB / 0.7374 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.8381, allocations: 97.88 kB / 0.7375 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/0.8383, allocations: 128.5 kB / 0.7376 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001257/0.8385, allocations: 83.03 kB / 0.7377 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.8385, allocations: 0 / 0.7377 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004132/0.8389, allocations: 284.4 kB / 0.7379 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.8389, allocations: 11.95 kB / 0.738 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.8389, allocations: 0 / 0.738 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.839, allocations: 0 / 0.738 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004355/0.8394, allocations: 99.42 kB / 0.7381 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.8394, allocations: 0 / 0.7381 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002816/0.8397, allocations: 65.14 kB / 0.7381 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-05/0.8397, allocations: 11.97 kB / 0.7381 GB, free: 14.47 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.0001243/0.8399, allocations: 112.9 kB / 0.7382 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004511/0.8403, allocations: 294.1 kB / 0.7385 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.8405, allocations: 67.11 kB / 0.7386 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00057/0.841, allocations: 340.1 kB / 0.7389 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.8411, allocations: 0 / 0.7389 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.8411, allocations: 3.938 kB / 0.7389 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.8411, allocations: 7.984 kB / 0.7389 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005904/0.8417, allocations: 462.6 kB / 0.7394 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.8417, allocations: 0 / 0.7394 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000387/0.8421, allocations: 99.22 kB / 0.7394 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/0.8421, allocations: 7.953 kB / 0.7395 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.8421, allocations: 0 / 0.7395 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.8421, allocations: 4 kB / 0.7395 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.8421, allocations: 0 / 0.7395 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005445/0.8427, allocations: 485.7 kB / 0.7399 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000201/0.8429, allocations: 180.7 kB / 0.7401 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.18e-05/0.843, allocations: 7.938 kB / 0.7401 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003152/0.8433, allocations: 55.94 kB / 0.7402 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001967/0.8435, allocations: 90.95 kB / 0.7402 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-05/0.8435, allocations: 15.48 kB / 0.7403 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007083/0.8442, allocations: 0.589 MB / 0.7408 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8443, allocations: 0 / 0.7408 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004048/0.8447, allocations: 79.84 kB / 0.7409 GB, free: 11.98 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.001511/0.8462, allocations: 1.284 MB / 0.7422 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004051/0.8466, allocations: 252 kB / 0.7424 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.8466, allocations: 0 / 0.7424 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002403/0.8469, allocations: 168.8 kB / 0.7426 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004832/0.8474, allocations: 65.27 kB / 0.7426 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.849, allocations: 0.9226 MB / 0.7435 GB, free: 9.598 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005652/0.8495, allocations: 0.9025 MB / 0.7444 GB, free: 8.691 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002714/0.8498, allocations: 110.3 kB / 0.7445 GB, free: 8.59 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000271/0.8501, allocations: 198.6 kB / 0.7447 GB, free: 8.531 MB / 0.4948 GB Notification: Performance of SimCode: time 2.91e-07/0.8501, allocations: 0 / 0.7447 GB, free: 8.531 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03231/0.8824, allocations: 9.545 MB / 0.754 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000204/0.8827, allocations: 191.1 kB / 0.7542 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.465/3.348, allocations: 0 / 0.7542 GB, free: 14.8 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)