Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.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.Examples.BesselY0,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselY0,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_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.007413/0.007413, allocations: 95.02 kB / 15.73 MB, free: 6.039 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.001877/0.001877, allocations: 199.6 kB / 16.68 MB, free: 5.969 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.528/1.528, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9525/0.9525, allocations: 135.5 MB / 426.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 64.09 kB / 0.5857 GB, free: 3.203 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.3557, allocations: 81.03 MB / 0.6649 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselY0): time 0.001772/0.3575, allocations: 1.424 MB / 0.6663 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000491/0.358, allocations: 337.8 kB / 0.6666 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.197e-05/0.358, allocations: 0 / 0.6666 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.454e-05/0.358, allocations: 5.25 kB / 0.6666 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.392e-05/0.3581, allocations: 4 kB / 0.6666 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003385/0.3584, allocations: 104 kB / 0.6667 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.762e-05/0.3585, allocations: 17.81 kB / 0.6667 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.473e-05/0.3585, allocations: 10.39 kB / 0.6667 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.06e-05/0.3586, allocations: 11.52 kB / 0.6667 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.977e-05/0.3586, allocations: 10.39 kB / 0.6667 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.885e-06/0.3586, allocations: 1.938 kB / 0.6668 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001717/0.3588, allocations: 126.4 kB / 0.6669 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.002e-05/0.3588, allocations: 1.312 kB / 0.6669 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.282e-05/0.3588, allocations: 25.31 kB / 0.6669 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.359, allocations: 83.7 kB / 0.667 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.359, allocations: 0 / 0.667 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.292e-06/0.359, allocations: 1.094 kB / 0.667 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.359, allocations: 0 / 0.667 GB, free: 5.246 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003239/0.3593, allocations: 354.9 kB / 0.6673 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.3594, allocations: 10 kB / 0.6673 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.957e-05/0.3594, allocations: 32.09 kB / 0.6674 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.823e-05/0.3594, allocations: 2.312 kB / 0.6674 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.359e-05/0.3595, allocations: 169.6 kB / 0.6675 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.3595, allocations: 384 / 0.6675 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.166e-06/0.3595, allocations: 1.594 kB / 0.6675 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.3597, allocations: 53.33 kB / 0.6676 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.3597, allocations: 5.281 kB / 0.6676 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.094e-06/0.3597, allocations: 3.984 kB / 0.6676 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.3597, allocations: 0 / 0.6676 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001434/0.3598, allocations: 38.5 kB / 0.6676 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001922/0.36, allocations: 253.3 kB / 0.6679 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.3602, allocations: 42.62 kB / 0.6679 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.391e-05/0.3602, allocations: 19.12 kB / 0.6679 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004645/0.3607, allocations: 462.3 kB / 0.6684 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.097e-05/0.3607, allocations: 31.84 kB / 0.6684 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.3607, allocations: 0 / 0.6684 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002945/0.361, allocations: 84.17 kB / 0.6685 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.44e-05/0.3611, allocations: 52.69 kB / 0.6685 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.968e-05/0.3611, allocations: 103 kB / 0.6686 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.691e-06/0.3611, allocations: 25.7 kB / 0.6686 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.804e-05/0.3611, allocations: 85.61 kB / 0.6687 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.305e-05/0.3612, allocations: 9.016 kB / 0.6687 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.31e-05/0.3612, allocations: 12.38 kB / 0.6687 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.16e-05/0.3612, allocations: 319 kB / 0.669 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.298e-05/0.3613, allocations: 17.66 kB / 0.6691 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.396e-05/0.3614, allocations: 17.52 kB / 0.6691 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.3615, allocations: 35.55 kB / 0.6691 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3615, allocations: 3.938 kB / 0.6691 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00016/0.3617, allocations: 68.44 kB / 0.6692 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.789e-06/0.3617, allocations: 5.312 kB / 0.6692 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-06/0.3617, allocations: 0 / 0.6692 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.3617, allocations: 1.344 kB / 0.6692 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.027e-05/0.3618, allocations: 14.14 kB / 0.6692 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/0.3618, allocations: 3.938 kB / 0.6692 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.053e-05/0.3618, allocations: 3 kB / 0.6692 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.3618, allocations: 5.266 kB / 0.6692 GB, free: 2.879 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 (2): * Single equations (assignments): 2 * 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 3.723e-05/0.3619, allocations: 118.9 kB / 0.6693 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.007e-05/0.3619, allocations: 2.188 kB / 0.6693 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000183/0.3621, allocations: 69.67 kB / 0.6694 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3621, allocations: 1.375 kB / 0.6694 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.3621, allocations: 0 / 0.6694 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3621, allocations: 4 kB / 0.6694 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.3622, allocations: 162.6 kB / 0.6696 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3622, allocations: 4.031 kB / 0.6696 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.251e-05/0.3623, allocations: 10.06 kB / 0.6696 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3623, allocations: 5 kB / 0.6696 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.3623, allocations: 0 / 0.6696 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3623, allocations: 3.938 kB / 0.6696 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3623, allocations: 1.406 kB / 0.6696 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/0.3625, allocations: 162.6 kB / 0.6697 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.321e-05/0.3625, allocations: 82.34 kB / 0.6698 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.608e-06/0.3625, allocations: 0 / 0.6698 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.648e-05/0.3626, allocations: 4.188 kB / 0.6698 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.93e-05/0.3626, allocations: 9.391 kB / 0.6698 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.3627, allocations: 0 / 0.6698 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.645e-05/0.3627, allocations: 79.19 kB / 0.6699 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3627, allocations: 0 / 0.6699 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002263/0.3629, allocations: 27.53 kB / 0.6699 GB, free: 2.137 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 (2): * Single equations (assignments): 2 * 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.0004089/0.3633, allocations: 0.7373 MB / 0.6707 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001796/0.3635, allocations: 36.3 kB / 0.6707 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3635, allocations: 5.312 kB / 0.6707 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.415e-05/0.3636, allocations: 19.48 kB / 0.6707 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001953/0.3638, allocations: 1.062 kB / 0.6707 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003015/0.3641, allocations: 153.9 kB / 0.6709 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.218e-05/0.3642, allocations: 0.6761 MB / 0.6715 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.742e-05/0.3642, allocations: 1.062 kB / 0.6715 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.304e-05/0.3642, allocations: 9.531 kB / 0.6715 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.3642, allocations: 0 / 0.6715 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2742/0.6385, allocations: 1.741 MB / 0.6732 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.868/8.507, allocations: 9.969 kB / 0.6732 GB, free: 15.55 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselY0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselY0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselY0.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselY0.pipe 2>&1)