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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 223.2 MB / 239.9 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.003/1.003, allocations: 143.3 MB / 434.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003017/0.0003018, allocations: 8 kB / 0.5159 GB, free: 11.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1761, allocations: 83.41 MB / 0.5973 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample): time 0.001616/0.1777, allocations: 0.8927 MB / 0.5982 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001132/0.1789, allocations: 0.6592 MB / 0.5988 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.748e-05/0.179, allocations: 4 kB / 0.5989 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004205/0.1794, allocations: 227.4 kB / 0.5991 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004456/0.1799, allocations: 211.5 kB / 0.5993 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005261/0.1804, allocations: 223.1 kB / 0.5995 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003369/0.1808, allocations: 235.5 kB / 0.5997 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001703/0.1809, allocations: 61.11 kB / 0.5998 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001619/0.1811, allocations: 139.4 kB / 0.5999 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002511/0.1814, allocations: 195.3 kB / 0.6001 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.042e-05/0.1814, allocations: 8 kB / 0.6001 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.036e-05/0.1815, allocations: 23.94 kB / 0.6001 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001508/0.1816, allocations: 155.5 kB / 0.6003 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.69e-05/0.1817, allocations: 97.39 kB / 0.6004 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003362/0.1821, allocations: 355.4 kB / 0.6007 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.1821, allocations: 0 / 0.6007 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1821, allocations: 0 / 0.6007 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.1821, allocations: 0 / 0.6007 GB, free: 4.309 MB / 0.4981 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.001397/0.1835, allocations: 0.8946 MB / 0.6016 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.1835, allocations: 12.03 kB / 0.6016 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.563e-05/0.1836, allocations: 42.55 kB / 0.6016 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.988e-05/0.1837, allocations: 59.25 kB / 0.6017 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006234/0.1843, allocations: 471.6 kB / 0.6021 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.1844, allocations: 7.938 kB / 0.6021 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.069e-05/0.1844, allocations: 12 kB / 0.6021 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007043/0.1851, allocations: 328.5 kB / 0.6025 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.1851, allocations: 7.922 kB / 0.6025 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.374e-05/0.1852, allocations: 4 kB / 0.6025 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.806e-05/0.1852, allocations: 15.94 kB / 0.6025 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001167/0.1864, allocations: 475.4 kB / 0.6029 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.1876, allocations: 0.8712 MB / 0.6038 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001372/0.189, allocations: 0.5788 MB / 0.6044 GB, free: 376 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.787e-05/0.189, allocations: 4 kB / 0.6044 GB, free: 372 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.189, allocations: 38.69 kB / 0.6044 GB, free: 324 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=23): time 1.623e-06/0.189, allocations: 0 / 0.6044 GB, free: 324 kB / 0.4981 GB Notification: Performance of matching and sorting (n=23): time 0.2928/0.4818, allocations: 0.7029 MB / 0.6051 GB, free: 40.8 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.4819, allocations: 83.73 kB / 0.6052 GB, free: 40.71 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000864/0.4828, allocations: 0.8934 MB / 0.606 GB, free: 40.59 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.4828, allocations: 25.7 kB / 0.6061 GB, free: 40.55 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.483, allocations: 279.7 kB / 0.6063 GB, free: 40.47 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.058e-05/0.483, allocations: 59.56 kB / 0.6064 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.471e-05/0.483, allocations: 9.844 kB / 0.6064 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.959e-05/0.4831, allocations: 375.6 kB / 0.6068 GB, free: 40.13 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004426/0.4836, allocations: 208.7 kB / 0.607 GB, free: 40.13 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004366/0.484, allocations: 226 kB / 0.6072 GB, free: 40.12 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00042/0.4844, allocations: 186.1 kB / 0.6073 GB, free: 40.12 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.4845, allocations: 0 / 0.6073 GB, free: 40.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000975/0.4854, allocations: 0.5041 MB / 0.6078 GB, free: 40.05 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.4855, allocations: 5.688 kB / 0.6078 GB, free: 40.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.4855, allocations: 0 / 0.6078 GB, free: 40.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.4855, allocations: 3.625 kB / 0.6078 GB, free: 40.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004198/0.4859, allocations: 97.27 kB / 0.6079 GB, free: 40.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.4859, allocations: 0 / 0.6079 GB, free: 40.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002773/0.4862, allocations: 69.19 kB / 0.608 GB, free: 40.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.185e-05/0.4863, allocations: 7.156 kB / 0.608 GB, free: 40.04 MB / 0.4981 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.0002129/0.4865, allocations: 242.8 kB / 0.6082 GB, free: 39.93 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.872e-05/0.4866, allocations: 62.41 kB / 0.6083 GB, free: 39.89 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001119/0.4877, allocations: 0.5551 MB / 0.6088 GB, free: 39.83 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.4877, allocations: 2.75 kB / 0.6088 GB, free: 39.83 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4877, allocations: 0.5156 kB / 0.6088 GB, free: 39.83 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.4877, allocations: 0 / 0.6088 GB, free: 39.83 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000473/0.4882, allocations: 488.9 kB / 0.6093 GB, free: 39.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.4882, allocations: 2.969 kB / 0.6093 GB, free: 39.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003385/0.4886, allocations: 93.72 kB / 0.6094 GB, free: 39.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.4886, allocations: 2.938 kB / 0.6094 GB, free: 39.63 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.4886, allocations: 6.734 kB / 0.6094 GB, free: 39.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.4886, allocations: 2.938 kB / 0.6094 GB, free: 39.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.4886, allocations: 3.062 kB / 0.6094 GB, free: 39.63 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.4896, allocations: 0.6949 MB / 0.6101 GB, free: 39.36 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.4898, allocations: 153.6 kB / 0.6102 GB, free: 39.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.555e-05/0.4898, allocations: 6.156 kB / 0.6103 GB, free: 39.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003184/0.4902, allocations: 59.17 kB / 0.6103 GB, free: 39.23 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001668/0.4903, allocations: 93.19 kB / 0.6104 GB, free: 39.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/0.4904, allocations: 5.719 kB / 0.6104 GB, free: 39.23 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005765/0.491, allocations: 0.6475 MB / 0.611 GB, free: 39.14 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.491, allocations: 2.938 kB / 0.611 GB, free: 39.14 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003711/0.4913, allocations: 67.22 kB / 0.6111 GB, free: 39.14 MB / 0.4981 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.00197/0.4933, allocations: 1.555 MB / 0.6126 GB, free: 38.25 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001038/0.4944, allocations: 467.5 kB / 0.6131 GB, free: 38.23 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.4944, allocations: 0 / 0.6131 GB, free: 38.23 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005394/0.4949, allocations: 278 kB / 0.6133 GB, free: 38.22 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004801/0.4954, allocations: 73.12 kB / 0.6134 GB, free: 38.22 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005296/0.5007, allocations: 3.818 MB / 0.6171 GB, free: 37.08 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/0.5011, allocations: 0.9059 MB / 0.618 GB, free: 36.38 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002435/0.5013, allocations: 105.8 kB / 0.6181 GB, free: 36.37 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002178/0.5016, allocations: 190.4 kB / 0.6183 GB, free: 36.36 MB / 0.4981 GB Notification: Performance of SimCode: time 1.012e-06/0.5016, allocations: 0 / 0.6183 GB, free: 36.36 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01998/0.5216, allocations: 10.21 MB / 0.6283 GB, free: 35.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001531/0.5218, allocations: 248.4 kB / 0.6285 GB, free: 35.44 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.889/2.41, allocations: 4.938 kB / 0.6285 GB, free: 35.44 MB / 0.4981 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) Environment - environmentSimulation: