Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter.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.Filter,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001975/0.001975, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002291/0.002291, allocations: 214.4 kB / 18.59 MB, free: 4.531 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.751/1.751, allocations: 227.7 MB / 247 MB, free: 10.3 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.002968/0.002968, allocations: 65.33 kB / 307.3 MB, free: 400 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1329, allocations: 50.54 MB / 357.9 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.00477/0.1378, allocations: 2.011 MB / 359.9 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006963/0.1448, allocations: 3.715 MB / 363.6 MB, free: 8.086 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002583/0.1451, allocations: 11.88 kB / 363.6 MB, free: 8.074 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005821/0.1457, allocations: 175.1 kB / 363.8 MB, free: 7.902 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001373/0.1459, allocations: 51.52 kB / 363.8 MB, free: 7.852 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004908/0.1508, allocations: 1.941 MB / 365.8 MB, free: 5.918 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008177/0.1516, allocations: 494.8 kB / 366.2 MB, free: 5.434 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001802/0.1518, allocations: 57 kB / 366.3 MB, free: 5.371 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002228/0.1521, allocations: 171.4 kB / 366.5 MB, free: 5.203 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000276/0.1523, allocations: 175.1 kB / 366.6 MB, free: 5.031 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.371e-05/0.1524, allocations: 24 kB / 366.7 MB, free: 5.008 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002802/0.1552, allocations: 1.752 MB / 368.4 MB, free: 3.254 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001863/0.1554, allocations: 119.6 kB / 368.5 MB, free: 3.137 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000174/0.1556, allocations: 166.9 kB / 368.7 MB, free: 2.973 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002017/0.1576, allocations: 1.773 MB / 370.5 MB, free: 1.195 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.1576, allocations: 0 / 370.5 MB, free: 1.195 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1577, allocations: 0 / 370.5 MB, free: 1.195 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.1577, allocations: 0 / 370.5 MB, free: 1.195 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001889/0.1596, allocations: 0.8959 MB / 371.4 MB, free: 252 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.1596, allocations: 8.031 kB / 371.4 MB, free: 244 kB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.715e-05/0.1597, allocations: 50.73 kB / 371.4 MB, free: 184 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.499e-05/0.1598, allocations: 52.38 kB / 371.5 MB, free: 132 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.153/0.3128, allocations: 345.2 kB / 371.8 MB, free: 19.2 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.004e-05/0.3129, allocations: 15.31 kB / 371.8 MB, free: 19.2 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.634e-05/0.313, allocations: 30 kB / 371.9 MB, free: 19.2 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000584/0.3135, allocations: 305.1 kB / 372.2 MB, free: 19.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.3136, allocations: 0 / 372.2 MB, free: 19.07 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.051e-05/0.3136, allocations: 6.406 kB / 372.2 MB, free: 19.07 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.3136, allocations: 3.656 kB / 372.2 MB, free: 19.07 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003457/0.314, allocations: 152.3 kB / 372.3 MB, free: 19.07 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001367/0.3154, allocations: 0.675 MB / 373 MB, free: 18.79 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000651/0.316, allocations: 325.4 kB / 373.3 MB, free: 18.76 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001874/0.3162, allocations: 113.1 kB / 373.4 MB, free: 18.75 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.3163, allocations: 2.531 kB / 373.4 MB, free: 18.75 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.3163, allocations: 42.02 kB / 373.5 MB, free: 18.71 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.453e-06/0.3163, allocations: 0 / 373.5 MB, free: 18.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007165/0.317, allocations: 375.7 kB / 373.8 MB, free: 18.6 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.115e-05/0.3171, allocations: 372.7 kB / 374.2 MB, free: 18.16 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004293/0.3176, allocations: 409.4 kB / 374.6 MB, free: 17.96 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/0.3176, allocations: 36.8 kB / 374.6 MB, free: 17.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.3177, allocations: 198.2 kB / 374.8 MB, free: 17.76 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.46e-05/0.3178, allocations: 81.47 kB / 374.9 MB, free: 17.7 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.3179, allocations: 97.78 kB / 375 MB, free: 17.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.549e-05/0.318, allocations: 356.3 kB / 375.3 MB, free: 17.32 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00035/0.3184, allocations: 202.4 kB / 375.5 MB, free: 17.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003914/0.3188, allocations: 322.7 kB / 375.9 MB, free: 17.09 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005178/0.3193, allocations: 394.5 kB / 376.2 MB, free: 16.95 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3193, allocations: 0 / 376.2 MB, free: 16.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009984/0.3203, allocations: 0.651 MB / 376.9 MB, free: 16.7 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.3203, allocations: 7.906 kB / 376.9 MB, free: 16.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.82e-05/0.3204, allocations: 7.797 kB / 376.9 MB, free: 16.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004112/0.3208, allocations: 132.9 kB / 377 MB, free: 16.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002726/0.3211, allocations: 68.8 kB / 377.1 MB, free: 16.65 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002567/0.3236, allocations: 4.548 MB / 381.7 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000228/0.3239, allocations: 53.56 kB / 381.7 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.089e-05/0.3239, allocations: 10.02 kB / 381.7 MB, free: 12.3 MB / 302.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 (38): * Single equations (assignments): 27 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002013/0.3241, allocations: 184.1 kB / 381.9 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.554e-05/0.3242, allocations: 41.3 kB / 381.9 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.206e-05/0.3243, allocations: 45.45 kB / 382 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3243, allocations: 2.781 kB / 382 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.3243, allocations: 3.938 kB / 382 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.3243, allocations: 2.359 kB / 382 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000359/0.3247, allocations: 352.9 kB / 382.3 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3247, allocations: 0 / 382.3 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002773/0.325, allocations: 46.56 kB / 382.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.325, allocations: 1.094 kB / 382.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.014e-05/0.325, allocations: 11.11 kB / 382.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.325, allocations: 5.188 kB / 382.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.325, allocations: 1.266 kB / 382.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006662/0.3257, allocations: 0.4999 MB / 382.9 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.242e-05/0.3258, allocations: 111.7 kB / 383 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.226e-05/0.3258, allocations: 16.8 kB / 383 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/0.326, allocations: 9.688 kB / 383 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.33e-05/0.3261, allocations: 15.73 kB / 383 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.3261, allocations: 8.125 kB / 383.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002686/0.3264, allocations: 277.3 kB / 383.3 MB, free: 11.31 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3264, allocations: 0 / 383.3 MB, free: 11.31 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0019/0.3283, allocations: 0.6562 MB / 384 MB, free: 11.29 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (CriticalDamping.x[1],CriticalDamping.x[2],CriticalDamping.x[3],Bessel.x[1],Bessel.x[2],Bessel.x[3],Butterworth.x[1],Butterworth.x[2],Butterworth.x[3],ChebyshevI.x[1],ChebyshevI.x[2],ChebyshevI.x[3]) * 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 (21): * Single equations (assignments): 21 * 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.002372/0.3307, allocations: 1.618 MB / 385.6 MB, free: 10.49 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001462/0.3321, allocations: 0.9796 MB / 386.6 MB, free: 9.809 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.3322, allocations: 1.156 kB / 386.6 MB, free: 9.809 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002083/0.3324, allocations: 118.8 kB / 386.7 MB, free: 9.777 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006634/0.333, allocations: 120.3 kB / 386.8 MB, free: 9.746 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005929/0.339, allocations: 4.532 MB / 391.3 MB, free: 7.422 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.3394, allocations: 0.834 MB / 392.2 MB, free: 6.719 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002463/0.3396, allocations: 72.06 kB / 392.2 MB, free: 6.711 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.3398, allocations: 131.6 kB / 392.4 MB, free: 6.613 MB / 302.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3398, allocations: 0 / 392.4 MB, free: 6.613 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06988/0.4097, allocations: 17.11 MB / 409.5 MB, free: 9.625 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.12/10.53, allocations: 7.859 kB / 409.5 MB, free: 9.617 MB / 318.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter_res.csv --start-time 0 --stop-time 0.9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00036 Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Filter.fmu > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter.pipe 2>&1)