Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime.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.FilterWithRiseTime,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001296/0.001296, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001305/0.001306, allocations: 202 kB / 18.74 MB, free: 4.332 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.385/1.385, allocations: 227.7 MB / 247.2 MB, free: 10.19 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.00185/0.00185, allocations: 67.89 kB / 358.5 MB, free: 13.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2395, allocations: 50.54 MB / 409.1 MB, free: 1.426 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002924/0.2425, allocations: 1.841 MB / 410.9 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005709/0.2482, allocations: 3.55 MB / 414.4 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001417/0.2484, allocations: 7.938 kB / 414.5 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004198/0.2488, allocations: 131.3 kB / 414.6 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.916e-05/0.2489, allocations: 35.66 kB / 414.6 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00398/0.2529, allocations: 1.773 MB / 416.4 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004301/0.2534, allocations: 311.1 kB / 416.7 MB, free: 9.781 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.2535, allocations: 32.67 kB / 416.7 MB, free: 9.742 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002116/0.2537, allocations: 111.6 kB / 416.8 MB, free: 9.633 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001618/0.2539, allocations: 107.4 kB / 416.9 MB, free: 9.527 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.505e-05/0.2539, allocations: 12 kB / 417 MB, free: 9.516 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002851/0.2542, allocations: 151.7 kB / 417.1 MB, free: 9.367 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.2544, allocations: 71.73 kB / 417.2 MB, free: 9.297 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.2545, allocations: 99.34 kB / 417.3 MB, free: 9.199 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004474/0.2549, allocations: 338.6 kB / 417.6 MB, free: 8.867 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2549, allocations: 0 / 417.6 MB, free: 8.867 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.255, allocations: 0 / 417.6 MB, free: 8.867 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.255, allocations: 0 / 417.6 MB, free: 8.867 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0008437/0.2558, allocations: 0.5877 MB / 418.2 MB, free: 8.23 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.2559, allocations: 12.03 kB / 418.2 MB, free: 8.219 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.422e-05/0.2559, allocations: 46.75 kB / 418.2 MB, free: 8.164 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.816e-05/0.256, allocations: 28.75 kB / 418.3 MB, free: 8.137 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004494/0.2564, allocations: 284.4 kB / 418.5 MB, free: 7.824 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.2565, allocations: 12.31 kB / 418.6 MB, free: 7.812 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.504e-05/0.2565, allocations: 31.86 kB / 418.6 MB, free: 7.781 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003273/0.2568, allocations: 199.6 kB / 418.8 MB, free: 7.551 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.2569, allocations: 3.984 kB / 418.8 MB, free: 7.547 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.2569, allocations: 8 kB / 418.8 MB, free: 7.539 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.2569, allocations: 4 kB / 418.8 MB, free: 7.535 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001958/0.2571, allocations: 91.81 kB / 418.9 MB, free: 7.445 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007969/0.2579, allocations: 488.6 kB / 419.4 MB, free: 6.918 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003019/0.2582, allocations: 170.4 kB / 419.5 MB, free: 6.742 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.2583, allocations: 56.83 kB / 419.6 MB, free: 6.684 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.2584, allocations: 0 / 419.6 MB, free: 6.684 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.2584, allocations: 38.56 kB / 419.6 MB, free: 6.637 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.012e-06/0.2584, allocations: 0 / 419.6 MB, free: 6.637 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004755/0.2589, allocations: 224.5 kB / 419.8 MB, free: 6.414 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001662/0.2591, allocations: 286.7 kB / 420.1 MB, free: 6.066 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002921/0.2594, allocations: 288.5 kB / 420.4 MB, free: 5.777 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.159e-05/0.2594, allocations: 33.7 kB / 420.4 MB, free: 5.738 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.2595, allocations: 152.5 kB / 420.6 MB, free: 5.586 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.223e-05/0.2596, allocations: 51.59 kB / 420.6 MB, free: 5.535 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.299e-05/0.2597, allocations: 61.69 kB / 420.7 MB, free: 5.469 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.2599, allocations: 342.7 kB / 421 MB, free: 5.125 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001845/0.26, allocations: 99.94 kB / 421.1 MB, free: 5.027 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002423/0.2603, allocations: 180.5 kB / 421.3 MB, free: 4.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003412/0.2606, allocations: 213.3 kB / 421.5 MB, free: 4.609 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2607, allocations: 0 / 421.5 MB, free: 4.609 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004718/0.2611, allocations: 305.4 kB / 421.8 MB, free: 4.305 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.2612, allocations: 8 kB / 421.8 MB, free: 4.297 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.567e-05/0.2612, allocations: 7.984 kB / 421.8 MB, free: 4.289 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.2612, allocations: 0 / 421.8 MB, free: 4.289 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002632/0.2615, allocations: 47.91 kB / 421.9 MB, free: 4.242 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.2615, allocations: 7.938 kB / 421.9 MB, free: 4.234 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.2616, allocations: 27.94 kB / 421.9 MB, free: 4.207 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.2616, allocations: 7.938 kB / 421.9 MB, free: 4.199 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 19 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * 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.0001479/0.2618, allocations: 149.8 kB / 422.1 MB, free: 4.043 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.041e-05/0.2618, allocations: 31.81 kB / 422.1 MB, free: 4.012 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.801e-05/0.2619, allocations: 25.97 kB / 422.1 MB, free: 3.984 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.2619, allocations: 4 kB / 422.1 MB, free: 3.98 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.2619, allocations: 7.875 kB / 422.1 MB, free: 3.973 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2619, allocations: 0 / 422.1 MB, free: 3.973 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003092/0.2623, allocations: 269.5 kB / 422.4 MB, free: 3.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2623, allocations: 0 / 422.4 MB, free: 3.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001686/0.2624, allocations: 23.98 kB / 422.4 MB, free: 3.637 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.2625, allocations: 0 / 422.4 MB, free: 3.637 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/0.2625, allocations: 8 kB / 422.4 MB, free: 3.629 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.2625, allocations: 8 kB / 422.4 MB, free: 3.621 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.2625, allocations: 7.922 kB / 422.4 MB, free: 3.613 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005631/0.2631, allocations: 335.2 kB / 422.8 MB, free: 3.27 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.465e-05/0.2632, allocations: 96.92 kB / 422.9 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.649e-05/0.2632, allocations: 8.062 kB / 422.9 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.2634, allocations: 15.98 kB / 422.9 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.751e-05/0.2634, allocations: 11.92 kB / 422.9 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.2634, allocations: 4 kB / 422.9 MB, free: 3.117 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001919/0.2636, allocations: 195.1 kB / 423.1 MB, free: 2.926 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2636, allocations: 0 / 423.1 MB, free: 2.926 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003385/0.264, allocations: 79.86 kB / 423.2 MB, free: 2.848 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (filter_fac5.x[1],filter_fac5.x[2],filter_fac4.x[1],filter_fac4.x[2],filter_fac3.x[1],filter_fac3.x[2]) * 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 (13): * Single equations (assignments): 13 * 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.001124/0.2651, allocations: 0.9073 MB / 424.1 MB, free: 1.914 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006006/0.2657, allocations: 286.5 kB / 424.4 MB, free: 1.617 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.2657, allocations: 4 kB / 424.4 MB, free: 1.613 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001734/0.2659, allocations: 60 kB / 424.4 MB, free: 1.555 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006805/0.2666, allocations: 93.84 kB / 424.5 MB, free: 1.473 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004661/0.2713, allocations: 2.789 MB / 427.3 MB, free: 14.6 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005165/0.2718, allocations: 0.7713 MB / 428.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001821/0.272, allocations: 46.17 kB / 428.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/0.2722, allocations: 79.42 kB / 428.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.2722, allocations: 0 / 428.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0345/0.3067, allocations: 6.526 MB / 434.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.933/8.239, allocations: 15.91 kB / 434.7 MB, free: 7.254 MB / 350.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1)