Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselY0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009316/0.009317, allocations: 100.3 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00183/0.00183, allocations: 193.1 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7286/0.7286, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 75.88 kB / 0.5809 GB, free: 8.02 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4425/0.4437, allocations: 80.2 MB / 0.6592 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselY0): time 0.001633/0.4453, allocations: 0.5719 MB / 0.6598 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006212/0.446, allocations: 302.2 kB / 0.6601 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.281e-05/0.446, allocations: 0 / 0.6601 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.923e-05/0.446, allocations: 0 / 0.6601 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.745e-06/0.4461, allocations: 0 / 0.6601 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004948/0.4466, allocations: 99.84 kB / 0.6602 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.332e-05/0.4466, allocations: 1.719 kB / 0.6602 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.173e-05/0.4467, allocations: 1.891 kB / 0.6602 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.204e-05/0.4467, allocations: 0 / 0.6602 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.028e-05/0.4467, allocations: 1.75 kB / 0.6602 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.084e-06/0.4467, allocations: 0 / 0.6602 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002581/0.447, allocations: 121.5 kB / 0.6603 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.596e-06/0.447, allocations: 4 kB / 0.6603 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.929e-05/0.447, allocations: 1.125 kB / 0.6603 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.4472, allocations: 65.77 kB / 0.6604 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.4472, allocations: 1 kB / 0.6604 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.495e-06/0.4472, allocations: 0.6094 kB / 0.6604 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.323e-06/0.4472, allocations: 0 / 0.6604 GB, free: 9.188 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002738/0.4475, allocations: 327.1 kB / 0.6607 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.4476, allocations: 10.03 kB / 0.6607 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.74e-05/0.4476, allocations: 31.55 kB / 0.6607 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.264e-05/0.4476, allocations: 9.844 kB / 0.6607 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.184e-05/0.4477, allocations: 161.2 kB / 0.6609 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.4477, allocations: 2.594 kB / 0.6609 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.78e-06/0.4477, allocations: 384 / 0.6609 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.957e-05/0.4478, allocations: 32.08 kB / 0.6609 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.4478, allocations: 9.25 kB / 0.6609 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.725e-06/0.4478, allocations: 0 / 0.6609 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.4478, allocations: 0.6562 kB / 0.6609 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.912e-05/0.4478, allocations: 1.312 kB / 0.6609 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.515e-05/0.4479, allocations: 152.4 kB / 0.6611 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.379e-05/0.448, allocations: 18 kB / 0.6611 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.49e-05/0.448, allocations: 5.609 kB / 0.6611 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006251/0.4486, allocations: 458.4 kB / 0.6615 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.775e-05/0.4487, allocations: 39.16 kB / 0.6616 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.4487, allocations: 0 / 0.6616 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001269/0.4488, allocations: 36.33 kB / 0.6616 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.343e-05/0.4488, allocations: 55.41 kB / 0.6616 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.517e-05/0.4489, allocations: 91.05 kB / 0.6617 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.31e-06/0.4489, allocations: 25.7 kB / 0.6618 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.848e-06/0.4489, allocations: 80.75 kB / 0.6618 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.4489, allocations: 5.375 kB / 0.6618 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.178e-05/0.4489, allocations: 11.94 kB / 0.6619 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.695e-05/0.449, allocations: 312.1 kB / 0.6622 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.089e-05/0.449, allocations: 1.703 kB / 0.6622 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.612e-06/0.449, allocations: 5.094 kB / 0.6622 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.629e-05/0.4491, allocations: 11.95 kB / 0.6622 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4491, allocations: 0 / 0.6622 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.663e-05/0.4491, allocations: 37.16 kB / 0.6622 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.4491, allocations: 6.953 kB / 0.6622 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.4491, allocations: 3.938 kB / 0.6622 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.4492, allocations: 6.219 kB / 0.6622 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.524e-05/0.4492, allocations: 0.5625 kB / 0.6622 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.4492, allocations: 2.062 kB / 0.6622 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.989e-06/0.4492, allocations: 0.6562 kB / 0.6622 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.4492, allocations: 0 / 0.6622 GB, free: 7.094 MB / 0.4981 GB 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 (1): * Single equations (assignments): 1 * 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 4.987e-05/0.4493, allocations: 109.1 kB / 0.6623 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.304e-06/0.4493, allocations: 12.66 kB / 0.6623 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.817e-05/0.4494, allocations: 51.2 kB / 0.6624 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.4494, allocations: 0 / 0.6624 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.4494, allocations: 0 / 0.6624 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.4494, allocations: 2.094 kB / 0.6624 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.823e-05/0.4495, allocations: 147.1 kB / 0.6625 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4495, allocations: 1.281 kB / 0.6625 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.217e-05/0.4495, allocations: 1.922 kB / 0.6625 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.4495, allocations: 0 / 0.6625 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.4495, allocations: 5.828 kB / 0.6625 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4495, allocations: 4.031 kB / 0.6625 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4495, allocations: 3.938 kB / 0.6625 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.21e-05/0.4496, allocations: 61.55 kB / 0.6626 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.262e-05/0.4496, allocations: 78.95 kB / 0.6627 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.4497, allocations: 4.547 kB / 0.6627 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.813e-06/0.4497, allocations: 1.375 kB / 0.6627 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.245e-05/0.4497, allocations: 0.6094 kB / 0.6627 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/0.4497, allocations: 5.344 kB / 0.6627 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.745e-05/0.4497, allocations: 75.28 kB / 0.6628 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4497, allocations: 0 / 0.6628 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002416/0.45, allocations: 27.56 kB / 0.6628 GB, free: 6.461 MB / 0.4981 GB 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 (1): * Single equations (assignments): 1 * 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.0004349/0.4504, allocations: 0.6288 MB / 0.6634 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.821e-05/0.4505, allocations: 8.266 kB / 0.6634 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.4505, allocations: 0 / 0.6634 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.905e-06/0.4505, allocations: 5.125 kB / 0.6634 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.4507, allocations: 6.984 kB / 0.6634 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000299/0.451, allocations: 125.6 kB / 0.6635 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.4511, allocations: 0.6703 MB / 0.6642 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.128e-05/0.4511, allocations: 1.438 kB / 0.6642 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.279e-05/0.4511, allocations: 7.438 kB / 0.6642 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.4511, allocations: 0 / 0.6642 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01873/0.4698, allocations: 1.373 MB / 0.6655 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.507/7.977, allocations: 13.44 kB / 0.6656 GB, free: 4.484 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselY0.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1)