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.001875/0.001875, allocations: 113.6 kB / 17.78 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002371/0.002372, allocations: 207.9 kB / 18.74 MB, free: 4.289 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.583/1.583, allocations: 227.7 MB / 247.2 MB, free: 10.16 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.001959/0.001959, allocations: 59.89 kB / 358.5 MB, free: 13.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3381, allocations: 50.54 MB / 409 MB, free: 1.359 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003854/0.342, allocations: 1.709 MB / 410.7 MB, free: 15.65 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.3437, allocations: 0.7438 MB / 411.5 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.642e-05/0.3438, allocations: 4 kB / 411.5 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003247/0.3441, allocations: 51.72 kB / 411.5 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002068/0.3444, allocations: 35.72 kB / 411.6 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.3455, allocations: 0.4941 MB / 412.1 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000267/0.3458, allocations: 123.6 kB / 412.2 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.3459, allocations: 37.42 kB / 412.2 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/0.3461, allocations: 63.75 kB / 412.3 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002499/0.3463, allocations: 83.67 kB / 412.4 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.443e-05/0.3464, allocations: 8 kB / 412.4 MB, free: 14 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003139/0.3467, allocations: 131.8 kB / 412.5 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.538e-05/0.3468, allocations: 35.84 kB / 412.5 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.924e-05/0.3469, allocations: 59.59 kB / 412.6 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003968/0.3473, allocations: 202.3 kB / 412.8 MB, free: 13.58 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3473, allocations: 3.938 kB / 412.8 MB, free: 13.57 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3473, allocations: 0 / 412.8 MB, free: 13.57 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.3473, 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.001524/0.3489, allocations: 0.5336 MB / 413.3 MB, free: 12.99 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.3489, allocations: 8.031 kB / 413.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.944e-05/0.349, allocations: 42.73 kB / 413.4 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000682/0.3497, allocations: 112.7 kB / 413.5 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.3499, allocations: 196.1 kB / 413.7 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.35, allocations: 12.38 kB / 413.7 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.914e-05/0.35, allocations: 8.375 kB / 413.7 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004347/0.3504, allocations: 169.6 kB / 413.9 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.3505, allocations: 0 / 413.9 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/0.3505, allocations: 4 kB / 413.9 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.495e-05/0.3505, allocations: 8 kB / 413.9 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004406/0.351, allocations: 151.9 kB / 414 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001148/0.3521, allocations: 0.5627 MB / 414.6 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004364/0.3526, allocations: 142.5 kB / 414.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/0.3528, allocations: 72.81 kB / 414.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.484e-05/0.3528, allocations: 0 / 414.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.368e-05/0.3529, allocations: 38.55 kB / 414.8 MB, free: 11.36 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 4.338e-06/0.3529, allocations: 0 / 414.8 MB, free: 11.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006794/0.3536, allocations: 217.5 kB / 415 MB, free: 11.14 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.77e-05/0.3537, allocations: 55.41 kB / 415.1 MB, free: 11.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002572/0.3539, allocations: 207.1 kB / 415.3 MB, free: 10.86 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/0.354, allocations: 29.7 kB / 415.3 MB, free: 10.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.3541, allocations: 116.2 kB / 415.4 MB, free: 10.7 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.408e-05/0.3541, allocations: 35.69 kB / 415.5 MB, free: 10.67 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.979e-05/0.3542, allocations: 37.64 kB / 415.5 MB, free: 10.62 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.3544, allocations: 326.8 kB / 415.8 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001736/0.3546, allocations: 55.95 kB / 415.9 MB, free: 10.24 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.3548, allocations: 92.19 kB / 416 MB, free: 10.14 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004081/0.3552, allocations: 160.2 kB / 416.1 MB, free: 9.965 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.3552, allocations: 4 kB / 416.1 MB, free: 9.961 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004653/0.3557, allocations: 193.3 kB / 416.3 MB, free: 9.766 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.3557, allocations: 4 kB / 416.3 MB, free: 9.762 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.3557, allocations: 4 kB / 416.3 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.894e-05/0.3558, allocations: 128 / 416.3 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.356, allocations: 43.91 kB / 416.4 MB, free: 9.715 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.356, allocations: 0 / 416.4 MB, free: 9.715 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.3562, allocations: 23.83 kB / 416.4 MB, free: 9.691 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.3562, allocations: 4 kB / 416.4 MB, free: 9.688 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.0001481/0.3564, allocations: 141.7 kB / 416.5 MB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.971e-05/0.3564, allocations: 11.91 kB / 416.6 MB, free: 9.527 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005074/0.3569, allocations: 190.9 kB / 416.7 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.3569, allocations: 0 / 416.7 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.3569, allocations: 0 / 416.7 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3569, allocations: 0 / 416.7 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003336/0.3573, allocations: 253.5 kB / 417 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3573, allocations: 0 / 417 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/0.3575, allocations: 23.98 kB / 417 MB, free: 9.008 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3575, allocations: 0 / 417 MB, free: 9.008 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.3575, allocations: 4 kB / 417 MB, free: 9.004 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3575, allocations: 0 / 417 MB, free: 9.004 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3575, allocations: 4.094 kB / 417 MB, free: 9 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004967/0.358, allocations: 271.1 kB / 417.3 MB, free: 8.719 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.3581, allocations: 105 kB / 417.4 MB, free: 8.598 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.883e-05/0.3582, allocations: 7.984 kB / 417.4 MB, free: 8.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.3583, allocations: 8 kB / 417.4 MB, free: 8.582 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.943e-05/0.3584, allocations: 7.984 kB / 417.4 MB, free: 8.574 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.3584, allocations: 4 kB / 417.4 MB, free: 8.57 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001826/0.3586, allocations: 160.8 kB / 417.6 MB, free: 8.414 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3586, allocations: 0 / 417.6 MB, free: 8.414 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002892/0.3589, allocations: 31.89 kB / 417.6 MB, free: 8.383 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.000968/0.3599, allocations: 0.8059 MB / 418.4 MB, free: 7.551 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004464/0.3603, allocations: 135.8 kB / 418.5 MB, free: 7.418 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3603, allocations: 0 / 418.5 MB, free: 7.418 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001989/0.3605, allocations: 76.14 kB / 418.6 MB, free: 7.344 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.3609, allocations: 12.48 kB / 418.6 MB, free: 7.332 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003619/0.3645, allocations: 2.139 MB / 420.8 MB, free: 5.09 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005441/0.3651, allocations: 0.7316 MB / 421.5 MB, free: 4.332 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001395/0.3652, allocations: 29.41 kB / 421.5 MB, free: 4.305 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.3654, allocations: 43.42 kB / 421.6 MB, free: 4.262 MB / 334.1 MB Notification: Performance of SimCode: time 1.643e-06/0.3654, allocations: 7.938 kB / 421.6 MB, free: 4.254 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03149/0.3969, allocations: 3.457 MB / 425 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.335/8.732, allocations: 7.922 kB / 425 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_ComplexBlocks_Examples_ShowTransferFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_ComplexBlocks_Examples_ShowTransferFunction.fmu > Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1)