Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.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.BesselJ1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselJ1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ1",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.001281/0.001281, allocations: 108.6 kB / 15.73 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 192.8 kB / 16.66 MB, free: 6.613 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.209/1.209, allocations: 135.6 MB / 426.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 71.88 kB / 0.5857 GB, free: 3.211 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4306/0.4327, allocations: 81.03 MB / 0.6649 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.002543/0.4353, allocations: 1.418 MB / 0.6663 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004443/0.4357, allocations: 259 kB / 0.6665 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.628e-05/0.4358, allocations: 0 / 0.6665 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.356e-05/0.4358, allocations: 3.984 kB / 0.6665 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.174e-05/0.4359, allocations: 5.25 kB / 0.6665 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003308/0.4362, allocations: 58.53 kB / 0.6666 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.121e-05/0.4363, allocations: 29.17 kB / 0.6666 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.297e-05/0.4364, allocations: 6.906 kB / 0.6666 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.82e-05/0.4364, allocations: 6.5 kB / 0.6666 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.971e-05/0.4364, allocations: 15.73 kB / 0.6666 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.407e-06/0.4365, allocations: 1.344 kB / 0.6666 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001303/0.4366, allocations: 65.05 kB / 0.6667 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.378e-06/0.4366, allocations: 4 kB / 0.6667 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.865e-05/0.4366, allocations: 10.22 kB / 0.6667 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.4368, allocations: 52.14 kB / 0.6667 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.4368, allocations: 7.875 kB / 0.6668 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.362e-06/0.4368, allocations: 0 / 0.6668 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.83e-06/0.4368, allocations: 6.094 kB / 0.6668 GB, free: 5.379 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.0003585/0.4372, allocations: 343.7 kB / 0.6671 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.4372, allocations: 8.844 kB / 0.6671 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.857e-05/0.4372, allocations: 31.91 kB / 0.6671 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.222e-05/0.4373, allocations: 6.156 kB / 0.6671 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.711e-05/0.4373, allocations: 165.5 kB / 0.6673 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.407e-06/0.4373, allocations: 1.906 kB / 0.6673 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.302e-06/0.4373, allocations: 1.812 kB / 0.6673 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.4375, allocations: 56.36 kB / 0.6673 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.4375, allocations: 5 kB / 0.6674 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.652e-06/0.4375, allocations: 0 / 0.6674 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.4375, allocations: 1.312 kB / 0.6674 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001555/0.4377, allocations: 34.48 kB / 0.6674 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002354/0.4379, allocations: 248.3 kB / 0.6676 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.4381, allocations: 47.62 kB / 0.6677 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.281e-05/0.4382, allocations: 25.66 kB / 0.6677 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005499/0.4387, allocations: 459.4 kB / 0.6681 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.63e-05/0.4387, allocations: 30.56 kB / 0.6682 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.4388, allocations: 1.062 kB / 0.6682 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003274/0.4391, allocations: 80.61 kB / 0.6682 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.987e-05/0.4391, allocations: 51.41 kB / 0.6683 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.838e-05/0.4392, allocations: 107.5 kB / 0.6684 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.102e-06/0.4392, allocations: 25.7 kB / 0.6684 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.117e-05/0.4392, allocations: 81.64 kB / 0.6685 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.47e-05/0.4392, allocations: 5.172 kB / 0.6685 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.602e-05/0.4393, allocations: 15.22 kB / 0.6685 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.058e-05/0.4393, allocations: 316 kB / 0.6688 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.956e-05/0.4394, allocations: 21.53 kB / 0.6688 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.996e-05/0.4395, allocations: 17.45 kB / 0.6689 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.4396, allocations: 34.77 kB / 0.6689 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4396, allocations: 5.594 kB / 0.6689 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001713/0.4398, allocations: 64.28 kB / 0.669 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.4398, allocations: 4.5 kB / 0.669 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.4398, allocations: 8.031 kB / 0.669 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.4398, allocations: 1.438 kB / 0.669 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.624e-05/0.4399, allocations: 8.922 kB / 0.669 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.4399, allocations: 5.5 kB / 0.669 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.247e-05/0.44, allocations: 6.5 kB / 0.669 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.44, allocations: 5.359 kB / 0.669 GB, free: 3.02 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 4.224e-05/0.44, allocations: 110.9 kB / 0.6691 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.193e-05/0.4401, allocations: 5.375 kB / 0.6691 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002019/0.4403, allocations: 78.83 kB / 0.6692 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.4403, allocations: 192 / 0.6692 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.4403, allocations: 1.094 kB / 0.6692 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.4403, allocations: 3.984 kB / 0.6692 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.4404, allocations: 163.2 kB / 0.6693 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4404, allocations: 0 / 0.6693 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.159e-05/0.4405, allocations: 5.125 kB / 0.6693 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.4405, allocations: 1.25 kB / 0.6693 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.4405, allocations: 4.031 kB / 0.6693 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.4405, allocations: 5.156 kB / 0.6694 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4405, allocations: 7.922 kB / 0.6694 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.4407, allocations: 159.1 kB / 0.6695 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.504e-05/0.4407, allocations: 82.72 kB / 0.6696 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.013e-05/0.4407, allocations: 0 / 0.6696 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.036e-05/0.4408, allocations: 7.938 kB / 0.6696 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.4409, allocations: 5.109 kB / 0.6696 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.4409, allocations: 1.438 kB / 0.6696 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.877e-05/0.4409, allocations: 77.91 kB / 0.6697 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4409, allocations: 0 / 0.6697 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002365/0.4411, allocations: 17.88 kB / 0.6697 GB, free: 2.277 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.0004497/0.4416, allocations: 0.7166 MB / 0.6704 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000205/0.4418, allocations: 36.66 kB / 0.6704 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4418, allocations: 0 / 0.6704 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.086e-05/0.4419, allocations: 19.88 kB / 0.6704 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.4421, allocations: 9.156 kB / 0.6705 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003725/0.4425, allocations: 141.5 kB / 0.6706 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001027/0.4426, allocations: 0.6819 MB / 0.6713 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.098e-05/0.4427, allocations: 4.125 kB / 0.6713 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.852e-05/0.4427, allocations: 8.75 kB / 0.6713 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.4427, allocations: 0 / 0.6713 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02212/0.4648, allocations: 1.509 MB / 0.6727 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.952/8.416, allocations: 7.891 kB / 0.6728 GB, free: 15.82 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ1.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe 2>&1)