Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselY1.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.BesselY1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselY1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselY1",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.01015/0.01015, allocations: 97.41 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.00209/0.00209, allocations: 199.4 kB / 16.68 MB, free: 5.961 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.48/1.48, 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 1.09/1.09, allocations: 135.6 MB / 426.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 67.89 kB / 0.5857 GB, free: 3.223 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4272/0.4291, allocations: 81.03 MB / 0.6649 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselY1): time 0.002054/0.4312, allocations: 1.418 MB / 0.6663 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005518/0.4318, allocations: 356.7 kB / 0.6666 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.582e-05/0.4318, allocations: 1.062 kB / 0.6666 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.826e-05/0.4318, allocations: 3.938 kB / 0.6666 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.626e-05/0.4319, allocations: 5.438 kB / 0.6666 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000391/0.4323, allocations: 112.7 kB / 0.6667 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.479e-05/0.4323, allocations: 28.23 kB / 0.6667 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.894e-05/0.4324, allocations: 7.922 kB / 0.6668 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.569e-05/0.4325, allocations: 10.28 kB / 0.6668 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.431e-05/0.4325, allocations: 8.016 kB / 0.6668 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.337e-06/0.4325, allocations: 6.344 kB / 0.6668 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001935/0.4327, allocations: 128 kB / 0.6669 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.928e-06/0.4327, allocations: 9.594 kB / 0.6669 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.852e-05/0.4328, allocations: 9.453 kB / 0.6669 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001613/0.4329, allocations: 88.86 kB / 0.667 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.4329, allocations: 4 kB / 0.667 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.162e-06/0.4329, allocations: 0 / 0.667 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.4329, allocations: 1.125 kB / 0.667 GB, free: 5.238 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.0003485/0.4333, allocations: 358.6 kB / 0.6673 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.4333, allocations: 9.75 kB / 0.6674 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.697e-05/0.4334, allocations: 32.03 kB / 0.6674 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.12e-05/0.4334, allocations: 2.375 kB / 0.6674 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.1e-05/0.4335, allocations: 161.9 kB / 0.6675 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.4335, allocations: 384 / 0.6675 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.274e-06/0.4335, allocations: 5.812 kB / 0.6676 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.4336, allocations: 49.83 kB / 0.6676 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.4337, allocations: 3.938 kB / 0.6676 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.4337, allocations: 3.938 kB / 0.6676 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.4337, allocations: 1.062 kB / 0.6676 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000156/0.4339, allocations: 42.12 kB / 0.6676 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002174/0.4341, allocations: 253.9 kB / 0.6679 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.4342, allocations: 41.73 kB / 0.6679 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.899e-05/0.4343, allocations: 23.44 kB / 0.668 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005756/0.4349, allocations: 472.3 kB / 0.6684 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.598e-05/0.4349, allocations: 30.56 kB / 0.6684 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.4349, allocations: 3.938 kB / 0.6684 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003178/0.4352, allocations: 80.95 kB / 0.6685 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.927e-05/0.4352, allocations: 55.41 kB / 0.6686 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.627e-05/0.4353, allocations: 99.06 kB / 0.6687 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.532e-06/0.4353, allocations: 26.8 kB / 0.6687 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.369e-05/0.4353, allocations: 85.2 kB / 0.6688 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.604e-05/0.4354, allocations: 9.516 kB / 0.6688 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.438e-05/0.4354, allocations: 10.88 kB / 0.6688 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.231e-05/0.4354, allocations: 323.8 kB / 0.6691 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.633e-05/0.4355, allocations: 13.55 kB / 0.6691 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.714e-05/0.4356, allocations: 12.89 kB / 0.6691 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.4357, allocations: 44.42 kB / 0.6692 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.4357, allocations: 7.938 kB / 0.6692 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001706/0.4359, allocations: 68.38 kB / 0.6692 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.4359, allocations: 4.812 kB / 0.6692 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.4359, allocations: 1.219 kB / 0.6692 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.436, allocations: 0 / 0.6692 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.621e-05/0.436, allocations: 13.36 kB / 0.6693 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.436, allocations: 1.125 kB / 0.6693 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.225e-05/0.4361, allocations: 7.766 kB / 0.6693 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.4361, allocations: 1.188 kB / 0.6693 GB, free: 2.863 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 5.145e-05/0.4362, allocations: 114.9 kB / 0.6694 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.174e-05/0.4362, allocations: 1.531 kB / 0.6694 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002412/0.4364, allocations: 78.11 kB / 0.6694 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.4365, allocations: 0 / 0.6694 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.4365, allocations: 1.062 kB / 0.6694 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.4365, allocations: 0 / 0.6694 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.4366, allocations: 162.4 kB / 0.6696 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.4366, allocations: 7.969 kB / 0.6696 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.243e-05/0.4366, allocations: 5.656 kB / 0.6696 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.4367, allocations: 4.984 kB / 0.6696 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.4367, allocations: 1.438 kB / 0.6696 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.4367, allocations: 0 / 0.6696 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4367, allocations: 0 / 0.6696 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001936/0.4369, allocations: 171.5 kB / 0.6698 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.465e-05/0.4369, allocations: 77.11 kB / 0.6699 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.111e-05/0.4369, allocations: 0.8438 kB / 0.6699 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.054e-05/0.437, allocations: 8.203 kB / 0.6699 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.865e-05/0.437, allocations: 1.406 kB / 0.6699 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.437, allocations: 0 / 0.6699 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.916e-05/0.4371, allocations: 83.47 kB / 0.67 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4371, allocations: 0 / 0.67 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002493/0.4373, allocations: 32.17 kB / 0.67 GB, free: 2.117 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.000483/0.4378, allocations: 0.7277 MB / 0.6707 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000195/0.438, allocations: 37.31 kB / 0.6707 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.438, allocations: 0 / 0.6707 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.82e-05/0.4381, allocations: 24.09 kB / 0.6708 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/0.4383, allocations: 8.953 kB / 0.6708 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003408/0.4387, allocations: 145 kB / 0.6709 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.491e-05/0.4388, allocations: 0.6766 MB / 0.6716 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.955e-05/0.4388, allocations: 5.5 kB / 0.6716 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.637e-05/0.4388, allocations: 12.78 kB / 0.6716 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.4388, allocations: 0 / 0.6716 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02329/0.4621, allocations: 1.765 MB / 0.6733 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.891/8.353, allocations: 5.797 kB / 0.6733 GB, free: 15.52 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselY1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselY1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselY1.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselY1_res.csv --start-time 0.1 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01196 IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselY1.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselY1.pipe 2>&1)