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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008986/0.0008985, allocations: 99.7 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.0009484/0.0009484, allocations: 177.3 kB / 15.95 MB, free: 216 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.396/1.396, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.055/1.055, allocations: 143.3 MB / 434.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005238/0.0005239, allocations: 8 kB / 0.5158 GB, free: 11.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1821/0.1827, allocations: 83.4 MB / 0.5973 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample): time 0.001561/0.1843, allocations: 0.8927 MB / 0.5981 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001203/0.1855, allocations: 0.6476 MB / 0.5988 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001509/0.1857, allocations: 4 kB / 0.5988 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004564/0.1862, allocations: 235.4 kB / 0.599 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005125/0.1867, allocations: 211.4 kB / 0.5992 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005791/0.1873, allocations: 226.4 kB / 0.5994 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004033/0.1877, allocations: 235.5 kB / 0.5996 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001686/0.1879, allocations: 65.06 kB / 0.5997 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002242/0.1881, allocations: 139.4 kB / 0.5998 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002844/0.1884, allocations: 183.4 kB / 0.6 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.44e-05/0.1884, allocations: 12 kB / 0.6 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.1886, allocations: 27.92 kB / 0.6 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.1887, allocations: 155.5 kB / 0.6002 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.654e-05/0.1888, allocations: 93.39 kB / 0.6003 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003619/0.1892, allocations: 359.3 kB / 0.6006 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1892, allocations: 0 / 0.6006 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.865e-06/0.1892, allocations: 3.984 kB / 0.6006 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.1892, allocations: 0 / 0.6006 GB, free: 4.379 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.00135/0.1906, allocations: 0.8929 MB / 0.6015 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.1906, allocations: 8.031 kB / 0.6015 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.291e-05/0.1907, allocations: 63.16 kB / 0.6016 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006192/0.1914, allocations: 463.6 kB / 0.602 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.1914, allocations: 8 kB / 0.602 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/0.1914, allocations: 12 kB / 0.602 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006659/0.1921, allocations: 324.5 kB / 0.6023 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.1921, allocations: 0 / 0.6023 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.315e-05/0.1921, allocations: 4 kB / 0.6023 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-05/0.1922, allocations: 15.98 kB / 0.6024 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/0.1933, allocations: 475.5 kB / 0.6028 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001157/0.1944, allocations: 0.879 MB / 0.6037 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/0.1958, allocations: 0.5711 MB / 0.6042 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.31e-05/0.1958, allocations: 15.94 kB / 0.6042 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.1958, allocations: 30.56 kB / 0.6043 GB, free: 468 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=23): time 1.483e-06/0.1958, allocations: 0 / 0.6043 GB, free: 468 kB / 0.4981 GB Notification: Performance of matching and sorting (n=23): time 0.3138/0.5096, allocations: 0.7041 MB / 0.605 GB, free: 40.69 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.285e-05/0.5097, allocations: 80.23 kB / 0.605 GB, free: 40.6 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.5107, allocations: 0.8906 MB / 0.6059 GB, free: 40.47 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.19e-05/0.5108, allocations: 32.3 kB / 0.6059 GB, free: 40.44 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.511, allocations: 279.3 kB / 0.6062 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.43e-05/0.511, allocations: 59.27 kB / 0.6063 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.658e-05/0.5111, allocations: 6.406 kB / 0.6063 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.5112, allocations: 377.5 kB / 0.6066 GB, free: 40.05 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004498/0.5116, allocations: 211 kB / 0.6068 GB, free: 40.05 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004555/0.5121, allocations: 235.1 kB / 0.607 GB, free: 40.03 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004239/0.5125, allocations: 181.3 kB / 0.6072 GB, free: 40.03 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.5125, allocations: 0 / 0.6072 GB, free: 40.03 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001032/0.5136, allocations: 0.4989 MB / 0.6077 GB, free: 39.96 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.5136, allocations: 7.984 kB / 0.6077 GB, free: 39.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.5136, allocations: 0.8438 kB / 0.6077 GB, free: 39.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.5137, allocations: 3.156 kB / 0.6077 GB, free: 39.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000396/0.5141, allocations: 95.36 kB / 0.6078 GB, free: 39.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.5141, allocations: 0 / 0.6078 GB, free: 39.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002681/0.5143, allocations: 66.12 kB / 0.6079 GB, free: 39.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.467e-05/0.5144, allocations: 12.91 kB / 0.6079 GB, free: 39.95 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.0002756/0.5147, allocations: 242 kB / 0.6081 GB, free: 39.84 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.5148, allocations: 62.25 kB / 0.6082 GB, free: 39.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.516, allocations: 0.5532 MB / 0.6087 GB, free: 39.74 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.516, allocations: 3.719 kB / 0.6087 GB, free: 39.74 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.516, allocations: 6.219 kB / 0.6087 GB, free: 39.74 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.516, allocations: 1.031 kB / 0.6087 GB, free: 39.74 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005214/0.5165, allocations: 487.7 kB / 0.6092 GB, free: 39.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.5166, allocations: 0 / 0.6092 GB, free: 39.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000336/0.5169, allocations: 96.98 kB / 0.6093 GB, free: 39.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.5169, allocations: 0 / 0.6093 GB, free: 39.54 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.398e-05/0.5169, allocations: 9.625 kB / 0.6093 GB, free: 39.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.5169, allocations: 0.5 kB / 0.6093 GB, free: 39.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.517, allocations: 4.062 kB / 0.6093 GB, free: 39.54 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.518, allocations: 0.69 MB / 0.61 GB, free: 39.27 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.5182, allocations: 154 kB / 0.6101 GB, free: 39.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.573e-05/0.5183, allocations: 6.219 kB / 0.6101 GB, free: 39.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003018/0.5186, allocations: 60 kB / 0.6102 GB, free: 39.14 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001896/0.5188, allocations: 93.3 kB / 0.6103 GB, free: 39.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.144e-05/0.5188, allocations: 8.391 kB / 0.6103 GB, free: 39.14 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006837/0.5195, allocations: 0.6436 MB / 0.6109 GB, free: 39.05 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5195, allocations: 0.8438 kB / 0.6109 GB, free: 39.05 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003791/0.5199, allocations: 63.5 kB / 0.611 GB, free: 39.05 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.0008624/0.5208, allocations: 367.3 kB / 0.6113 GB, free: 38.93 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001017/0.5218, allocations: 470.3 kB / 0.6118 GB, free: 38.91 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5218, allocations: 4 kB / 0.6118 GB, free: 38.91 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005456/0.5223, allocations: 274 kB / 0.612 GB, free: 38.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004576/0.5228, allocations: 75.25 kB / 0.6121 GB, free: 38.89 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.5243, allocations: 1.083 MB / 0.6132 GB, free: 38.43 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.5247, allocations: 0.9082 MB / 0.6141 GB, free: 37.73 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002137/0.5249, allocations: 103.2 kB / 0.6141 GB, free: 37.71 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.525, allocations: 40.62 kB / 0.6142 GB, free: 37.71 MB / 0.4981 GB Notification: Performance of SimCode: time 6.61e-07/0.525, allocations: 0 / 0.6142 GB, free: 37.71 MB / 0.4981 GB Notification: Performance of Templates: time 0.008789/0.5338, allocations: 4.803 MB / 0.6189 GB, free: 37.38 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: