Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.SlewRateLimiter,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.SlewRateLimiter,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001633/0.001633, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001346/0.001346, allocations: 212.6 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.452/1.452, allocations: 227.7 MB / 247 MB, free: 10.35 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 68.05 kB / 307.3 MB, free: 412 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1031, allocations: 50.53 MB / 357.9 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.003225/0.1063, allocations: 1.677 MB / 359.5 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.1075, allocations: 0.5159 MB / 360.1 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.461e-05/0.1076, allocations: 0 / 360.1 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001073/0.1077, allocations: 15.8 kB / 360.1 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.746e-05/0.1078, allocations: 27.78 kB / 360.1 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001498/0.108, allocations: 47.88 kB / 360.2 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001715/0.1081, allocations: 111.6 kB / 360.3 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.1083, allocations: 33.05 kB / 360.3 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.255e-05/0.1083, allocations: 43.78 kB / 360.3 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.421e-05/0.1084, allocations: 43.72 kB / 360.4 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.384e-05/0.1085, allocations: 11.98 kB / 360.4 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.938e-05/0.1085, allocations: 8 kB / 360.4 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.216e-05/0.1085, allocations: 23.92 kB / 360.4 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.414e-05/0.1086, allocations: 47.61 kB / 360.5 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.1087, allocations: 95.92 kB / 360.6 MB, free: 11.14 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1087, allocations: 0 / 360.6 MB, free: 11.14 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1087, allocations: 4 kB / 360.6 MB, free: 11.14 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.503e-06/0.1088, allocations: 0 / 360.6 MB, free: 11.14 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006126/0.1094, allocations: 418.9 kB / 361 MB, free: 10.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.1094, allocations: 8.031 kB / 361 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.584e-05/0.1095, allocations: 42.75 kB / 361 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.845e-05/0.1095, allocations: 12.83 kB / 361 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002502/0.1098, allocations: 212.5 kB / 361.2 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.1098, allocations: 12.38 kB / 361.3 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.398e-05/0.1098, allocations: 19.92 kB / 361.3 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003033/0.1102, allocations: 128.1 kB / 361.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.1102, allocations: 4 kB / 361.4 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.1102, allocations: 4 kB / 361.4 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.1102, allocations: 0 / 361.4 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000215/0.1104, allocations: 71.89 kB / 361.5 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008304/0.1113, allocations: 0.5477 MB / 362 MB, free: 9.512 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003708/0.1117, allocations: 130.4 kB / 362.2 MB, free: 9.375 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001679/0.1118, allocations: 56.81 kB / 362.2 MB, free: 9.316 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.1119, allocations: 8 kB / 362.2 MB, free: 9.309 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.1119, allocations: 30.56 kB / 362.2 MB, free: 9.27 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.754e-06/0.1119, allocations: 0 / 362.2 MB, free: 9.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.0012/0.1131, allocations: 0.5066 MB / 362.8 MB, free: 8.711 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.1132, allocations: 51.41 kB / 362.8 MB, free: 8.648 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.1133, allocations: 157.5 kB / 363 MB, free: 8.488 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.1134, allocations: 33.64 kB / 363 MB, free: 8.449 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.798e-05/0.1135, allocations: 112 kB / 363.1 MB, free: 8.336 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.733e-05/0.1135, allocations: 51.3 kB / 363.1 MB, free: 8.285 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.398e-05/0.1136, allocations: 33.7 kB / 363.2 MB, free: 8.246 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.1137, allocations: 322.8 kB / 363.5 MB, free: 7.922 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.1139, allocations: 51.97 kB / 363.5 MB, free: 7.871 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/0.1141, allocations: 87.31 kB / 363.6 MB, free: 7.773 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003201/0.1144, allocations: 127.4 kB / 363.8 MB, free: 7.637 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.1144, allocations: 4 kB / 363.8 MB, free: 7.633 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004308/0.1149, allocations: 173.3 kB / 363.9 MB, free: 7.457 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.1149, allocations: 14.12 kB / 363.9 MB, free: 7.445 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.1149, allocations: 0 / 363.9 MB, free: 7.445 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.115, allocations: 7.984 kB / 364 MB, free: 7.438 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.1151, allocations: 35.98 kB / 364 MB, free: 7.402 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.1151, allocations: 4.094 kB / 364 MB, free: 7.398 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.156e-05/0.1152, allocations: 15.92 kB / 364 MB, free: 7.383 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.1153, allocations: 4 kB / 364 MB, free: 7.379 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (positionSmoothed.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001102/0.1154, allocations: 121.8 kB / 364.1 MB, free: 7.25 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.937e-05/0.1154, allocations: 15.84 kB / 364.1 MB, free: 7.234 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.12e-05/0.1155, allocations: 12.72 kB / 364.2 MB, free: 7.219 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.1155, allocations: 4 kB / 364.2 MB, free: 7.215 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.1155, allocations: 4 kB / 364.2 MB, free: 7.211 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.1155, allocations: 4 kB / 364.2 MB, free: 7.207 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008641/0.1164, allocations: 0.4921 MB / 364.7 MB, free: 6.652 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.1164, allocations: 0 / 364.7 MB, free: 6.652 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/0.1166, allocations: 35.91 kB / 364.7 MB, free: 6.617 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1166, allocations: 0 / 364.7 MB, free: 6.617 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.1166, allocations: 8 kB / 364.7 MB, free: 6.609 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1166, allocations: 0 / 364.7 MB, free: 6.609 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1166, allocations: 0 / 364.7 MB, free: 6.609 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006176/0.1172, allocations: 320.9 kB / 365 MB, free: 6.273 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.137e-05/0.1173, allocations: 92.92 kB / 365.1 MB, free: 6.164 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.1173, allocations: 4 kB / 365.1 MB, free: 6.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.1175, allocations: 16.03 kB / 365.1 MB, free: 6.145 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.165e-05/0.1175, allocations: 12.17 kB / 365.1 MB, free: 6.133 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.1175, allocations: 7.938 kB / 365.1 MB, free: 6.125 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001141/0.1177, allocations: 115.2 kB / 365.3 MB, free: 6.012 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1177, allocations: 0 / 365.3 MB, free: 6.012 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.1179, allocations: 23.94 kB / 365.3 MB, free: 5.988 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (v.u,positionSmoothed.y,a.u) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009563/0.1189, allocations: 0.8506 MB / 366.1 MB, free: 5.102 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003928/0.1193, allocations: 139.8 kB / 366.3 MB, free: 4.965 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1193, allocations: 0 / 366.3 MB, free: 4.965 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001763/0.1195, allocations: 67.89 kB / 366.3 MB, free: 4.898 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004827/0.12, allocations: 40.27 kB / 366.4 MB, free: 4.859 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00266/0.1227, allocations: 1.925 MB / 368.3 MB, free: 2.82 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.123, allocations: 0.7162 MB / 369 MB, free: 2.078 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.9e-05/0.1231, allocations: 13.42 kB / 369 MB, free: 2.066 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.879e-05/0.1232, allocations: 39.42 kB / 369.1 MB, free: 2.027 MB / 302.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1232, allocations: 192 / 369.1 MB, free: 2.027 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1628/0.286, allocations: 3.278 MB / 372.3 MB, free: 20.06 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.897/8.183, allocations: 9.578 kB / 372.4 MB, free: 20.06 MB / 302.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_SlewRateLimiter.fmu > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1)