Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="IDEAS_dev_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.007865/0.007865, allocations: 102.6 kB / 15.73 MB, free: 6.035 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.001695/0.001695, allocations: 190.2 kB / 16.67 MB, free: 5.973 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9052/0.9052, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 67.89 kB / 0.5852 GB, free: 3.828 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4476/0.4489, allocations: 80.91 MB / 0.6642 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselY0): time 0.002107/0.4511, allocations: 0.5809 MB / 0.6648 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000715/0.4518, allocations: 293.1 kB / 0.665 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.793e-05/0.4518, allocations: 0 / 0.665 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.835e-05/0.4519, allocations: 3.938 kB / 0.665 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.182e-06/0.4519, allocations: 0 / 0.665 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005546/0.4525, allocations: 104.1 kB / 0.6651 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.786e-05/0.4525, allocations: 1.062 kB / 0.6651 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.024e-05/0.4526, allocations: 5.188 kB / 0.6651 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.317e-05/0.4526, allocations: 0 / 0.6651 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.88e-05/0.4526, allocations: 1.344 kB / 0.6651 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.432e-06/0.4526, allocations: 0 / 0.6651 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002357/0.4529, allocations: 120.3 kB / 0.6653 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.945e-06/0.4529, allocations: 0 / 0.6653 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.699e-05/0.4529, allocations: 1.344 kB / 0.6653 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001514/0.4531, allocations: 71.09 kB / 0.6653 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.4531, allocations: 3.969 kB / 0.6653 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4531, allocations: 0 / 0.6653 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.4531, allocations: 4 kB / 0.6653 GB, free: 6.434 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.0002404/0.4533, allocations: 321.6 kB / 0.6656 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.4534, allocations: 13.12 kB / 0.6657 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.681e-05/0.4534, allocations: 36.19 kB / 0.6657 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.198e-05/0.4534, allocations: 0.9375 kB / 0.6657 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.744e-05/0.4535, allocations: 160.4 kB / 0.6658 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.4535, allocations: 1.625 kB / 0.6658 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.913e-06/0.4535, allocations: 4.375 kB / 0.6659 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.594e-05/0.4536, allocations: 32.38 kB / 0.6659 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.4536, allocations: 7.938 kB / 0.6659 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.4536, allocations: 0 / 0.6659 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.279e-06/0.4536, allocations: 4.938 kB / 0.6659 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.918e-05/0.4537, allocations: 1.219 kB / 0.6659 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.832e-05/0.4538, allocations: 142.9 kB / 0.666 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.644e-05/0.4538, allocations: 25.14 kB / 0.6661 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.532e-05/0.4538, allocations: 4.859 kB / 0.6661 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006416/0.4545, allocations: 458.7 kB / 0.6665 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.4545, allocations: 31.97 kB / 0.6665 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.4545, allocations: 0 / 0.6665 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.000126/0.4546, allocations: 42.86 kB / 0.6666 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.4547, allocations: 59.52 kB / 0.6666 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.986e-05/0.4547, allocations: 89.86 kB / 0.6667 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.747e-06/0.4547, allocations: 27.14 kB / 0.6667 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.83e-05/0.4547, allocations: 80.14 kB / 0.6668 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.338e-05/0.4548, allocations: 0 / 0.6668 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.813e-05/0.4548, allocations: 12.5 kB / 0.6668 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.551e-05/0.4549, allocations: 314.8 kB / 0.6671 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.311e-05/0.4549, allocations: 1.094 kB / 0.6671 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.616e-06/0.4549, allocations: 5.094 kB / 0.6671 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.039e-05/0.455, allocations: 7.641 kB / 0.6671 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.455, allocations: 0 / 0.6671 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.93e-05/0.455, allocations: 38.78 kB / 0.6672 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.4551, allocations: 5.312 kB / 0.6672 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.4551, allocations: 3.938 kB / 0.6672 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.4551, allocations: 1.406 kB / 0.6672 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.951e-05/0.4552, allocations: 1.375 kB / 0.6672 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.4552, allocations: 0 / 0.6672 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.12e-05/0.4552, allocations: 5.5 kB / 0.6672 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.4552, allocations: 3.938 kB / 0.6672 GB, free: 4.301 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 5.285e-05/0.4552, allocations: 111.4 kB / 0.6673 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.528e-06/0.4553, allocations: 0 / 0.6673 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.579e-05/0.4554, allocations: 44.81 kB / 0.6673 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.4554, allocations: 1.25 kB / 0.6673 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.4554, allocations: 3.984 kB / 0.6674 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.4554, allocations: 0 / 0.6674 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.298e-05/0.4555, allocations: 147.2 kB / 0.6675 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.4555, allocations: 3.984 kB / 0.6675 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.574e-05/0.4555, allocations: 6.875 kB / 0.6675 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.4555, allocations: 0 / 0.6675 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.4555, allocations: 3.938 kB / 0.6675 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.4555, allocations: 1.438 kB / 0.6675 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4555, allocations: 0 / 0.6675 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.744e-05/0.4556, allocations: 54.36 kB / 0.6676 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.698e-05/0.4556, allocations: 94.5 kB / 0.6677 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.4556, allocations: 3.938 kB / 0.6677 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.273e-06/0.4556, allocations: 0 / 0.6677 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.104e-05/0.4556, allocations: 1.625 kB / 0.6677 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.4557, allocations: 0 / 0.6677 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.267e-05/0.4557, allocations: 75.28 kB / 0.6677 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.4557, allocations: 1.406 kB / 0.6677 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002477/0.4559, allocations: 24.16 kB / 0.6678 GB, free: 3.668 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.0004119/0.4563, allocations: 0.6432 MB / 0.6684 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.863e-05/0.4564, allocations: 3.531 kB / 0.6684 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4564, allocations: 1.094 kB / 0.6684 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.394e-06/0.4565, allocations: 1.188 kB / 0.6684 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001471/0.4566, allocations: 6.094 kB / 0.6684 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003322/0.4569, allocations: 129.3 kB / 0.6685 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.4571, allocations: 0.6701 MB / 0.6692 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.046e-05/0.4571, allocations: 1.5 kB / 0.6692 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.447e-05/0.4571, allocations: 11.56 kB / 0.6692 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of SimCode: time 2.9e-07/0.4571, allocations: 3.938 kB / 0.6692 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01843/0.4755, allocations: 1.377 MB / 0.6705 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.234/7.709, allocations: 10.61 kB / 0.6705 GB, free: 1.375 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselY0.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1)