Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.ShowTransferFunction.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.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001534/0.001534, allocations: 113.7 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001751/0.001751, allocations: 208.6 kB / 18.74 MB, free: 4.309 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.425/1.425, allocations: 227.7 MB / 247.2 MB, free: 10.15 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.001922/0.001922, allocations: 55.91 kB / 358.5 MB, free: 13.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2794, allocations: 50.54 MB / 409 MB, free: 1.379 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.00314/0.2826, allocations: 1.709 MB / 410.8 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.284, allocations: 0.7632 MB / 411.5 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.475e-05/0.284, allocations: 0 / 411.5 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002351/0.2843, allocations: 47.73 kB / 411.6 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001718/0.2845, allocations: 43.64 kB / 411.6 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009922/0.2855, allocations: 0.4941 MB / 412.1 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002366/0.2857, allocations: 123.6 kB / 412.2 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.2858, allocations: 33.53 kB / 412.3 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.286, allocations: 59.7 kB / 412.3 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002207/0.2862, allocations: 91.61 kB / 412.4 MB, free: 14 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.777e-05/0.2862, allocations: 12 kB / 412.4 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002599/0.2865, allocations: 127.8 kB / 412.5 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.504e-05/0.2866, allocations: 39.84 kB / 412.6 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.217e-05/0.2867, allocations: 59.59 kB / 412.6 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003457/0.287, allocations: 202.2 kB / 412.8 MB, free: 13.57 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.287, allocations: 0 / 412.8 MB, free: 13.57 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.287, allocations: 0 / 412.8 MB, free: 13.57 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.407e-06/0.2871, allocations: 0 / 412.8 MB, free: 13.57 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001309/0.2884, allocations: 0.5375 MB / 413.4 MB, free: 12.99 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.2884, allocations: 12.03 kB / 413.4 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.933e-05/0.2885, allocations: 38.75 kB / 413.4 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006544/0.2891, allocations: 108.7 kB / 413.5 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.2894, allocations: 200.1 kB / 413.7 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.2894, allocations: 12.38 kB / 413.7 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.2894, allocations: 8.375 kB / 413.7 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003872/0.2898, allocations: 161.7 kB / 413.9 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.2898, allocations: 0 / 413.9 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.2898, allocations: 4 kB / 413.9 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.337e-05/0.2899, allocations: 4 kB / 413.9 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004129/0.2903, allocations: 155.9 kB / 414.1 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.2914, allocations: 0.5665 MB / 414.6 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004129/0.2918, allocations: 142.6 kB / 414.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001849/0.292, allocations: 72.81 kB / 414.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.292, allocations: 0 / 414.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.918e-05/0.2921, allocations: 34.69 kB / 414.9 MB, free: 11.36 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.2921, allocations: 3.938 kB / 414.9 MB, free: 11.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006093/0.2927, allocations: 213.4 kB / 415.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.2928, allocations: 55.41 kB / 415.1 MB, free: 11.08 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/0.293, allocations: 214.8 kB / 415.3 MB, free: 10.86 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.293, allocations: 25.7 kB / 415.4 MB, free: 10.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.594e-05/0.2931, allocations: 124.6 kB / 415.5 MB, free: 10.7 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.664e-05/0.2932, allocations: 35.69 kB / 415.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.42e-05/0.2932, allocations: 33.7 kB / 415.6 MB, free: 10.62 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.2934, allocations: 326.8 kB / 415.9 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/0.2936, allocations: 67.89 kB / 415.9 MB, free: 10.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001922/0.2938, allocations: 84.25 kB / 416 MB, free: 10.13 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003593/0.2941, allocations: 156.2 kB / 416.2 MB, free: 9.961 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2941, allocations: 0 / 416.2 MB, free: 9.961 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004438/0.2946, allocations: 201.3 kB / 416.4 MB, free: 9.758 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.2946, allocations: 4 kB / 416.4 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.2946, allocations: 0 / 416.4 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.2947, allocations: 8.125 kB / 416.4 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.2948, allocations: 31.97 kB / 416.4 MB, free: 9.715 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.2949, allocations: 4 kB / 416.4 MB, free: 9.711 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.295, allocations: 23.83 kB / 416.4 MB, free: 9.688 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.295, allocations: 4 kB / 416.5 MB, free: 9.684 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (14): * Single equations (assignments): 14 * 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.0001217/0.2951, allocations: 141.6 kB / 416.6 MB, free: 9.535 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.402e-05/0.2952, allocations: 15.91 kB / 416.6 MB, free: 9.52 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004766/0.2957, allocations: 178.9 kB / 416.8 MB, free: 9.332 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.2957, allocations: 4 kB / 416.8 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.2957, allocations: 0 / 416.8 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.2957, allocations: 3.984 kB / 416.8 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000296/0.296, allocations: 245.5 kB / 417 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.296, allocations: 0 / 417 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000156/0.2962, allocations: 31.91 kB / 417.1 MB, free: 9.004 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2962, allocations: 0 / 417.1 MB, free: 9.004 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.2962, allocations: 4 kB / 417.1 MB, free: 9 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.2962, allocations: 8 kB / 417.1 MB, free: 8.992 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2962, allocations: 0 / 417.1 MB, free: 8.992 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004561/0.2967, allocations: 263.2 kB / 417.3 MB, free: 8.719 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.2968, allocations: 105.1 kB / 417.4 MB, free: 8.598 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.65e-05/0.2968, allocations: 7.938 kB / 417.4 MB, free: 8.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.297, allocations: 7.984 kB / 417.4 MB, free: 8.582 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.909e-05/0.297, allocations: 15.98 kB / 417.5 MB, free: 8.566 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-06/0.297, allocations: 0 / 417.5 MB, free: 8.566 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001498/0.2972, allocations: 156.8 kB / 417.6 MB, free: 8.414 MB / 334.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2972, allocations: 7.938 kB / 417.6 MB, free: 8.406 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002726/0.2975, allocations: 31.89 kB / 417.7 MB, free: 8.375 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (11): * Single equations (assignments): 11 * 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.0008632/0.2984, allocations: 0.7982 MB / 418.5 MB, free: 7.551 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000412/0.2988, allocations: 135.8 kB / 418.6 MB, free: 7.418 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.2988, allocations: 4.25 kB / 418.6 MB, free: 7.414 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001775/0.299, allocations: 67.89 kB / 418.7 MB, free: 7.348 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.2993, allocations: 24.53 kB / 418.7 MB, free: 7.324 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002884/0.3022, allocations: 2.135 MB / 420.8 MB, free: 5.086 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.3026, allocations: 0.7355 MB / 421.5 MB, free: 4.324 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001162/0.3027, allocations: 29.41 kB / 421.6 MB, free: 4.297 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.63e-05/0.3028, allocations: 51.34 kB / 421.6 MB, free: 4.246 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3028, allocations: 4 kB / 421.6 MB, free: 4.242 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02604/0.3288, allocations: 3.438 MB / 425.1 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.469/8.798, allocations: 11.98 kB / 425.1 MB, free: 0.9141 MB / 334.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.ShowTransferFunction_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_ComplexBlocks_Examples_ShowTransferFunction.fmu > Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1)