Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.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.BesselJ0,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselJ0,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ0",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.005648/0.005648, allocations: 101.1 kB / 15.73 MB, free: 6.016 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.001342/0.001343, allocations: 193 kB / 16.67 MB, free: 5.934 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8806/0.8806, allocations: 135.6 MB / 426.1 MB, free: 3.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002922/0.002922, allocations: 67.98 kB / 0.5857 GB, free: 21.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2084, allocations: 81.03 MB / 0.6649 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.003835/0.2123, allocations: 1.423 MB / 0.6663 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006234/0.2129, allocations: 248.1 kB / 0.6665 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.667e-05/0.213, allocations: 4 kB / 0.6665 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.992e-05/0.213, allocations: 7.938 kB / 0.6665 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.637e-05/0.2131, allocations: 0 / 0.6665 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004269/0.2135, allocations: 55.83 kB / 0.6666 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.13e-05/0.2136, allocations: 19.92 kB / 0.6666 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.2137, allocations: 11.98 kB / 0.6666 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.742e-05/0.2138, allocations: 7.938 kB / 0.6666 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.861e-05/0.2138, allocations: 11.98 kB / 0.6666 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.2139, allocations: 0 / 0.6666 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001758/0.214, allocations: 71.81 kB / 0.6667 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.275e-05/0.2141, allocations: 0 / 0.6667 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.326e-05/0.2141, allocations: 11.94 kB / 0.6667 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001694/0.2143, allocations: 48.14 kB / 0.6667 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2143, allocations: 3.938 kB / 0.6667 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.854e-06/0.2143, allocations: 0 / 0.6667 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.2143, allocations: 0 / 0.6667 GB, free: 3.703 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.000557/0.2149, allocations: 347.4 kB / 0.6671 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.2149, allocations: 9.109 kB / 0.6671 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.925e-05/0.215, allocations: 42.75 kB / 0.6671 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.247e-05/0.215, allocations: 0.9375 kB / 0.6671 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.2152, allocations: 168.3 kB / 0.6673 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.2152, allocations: 4.375 kB / 0.6673 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.2152, allocations: 384 / 0.6673 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002159/0.2155, allocations: 58.16 kB / 0.6673 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.454e-05/0.2155, allocations: 3.938 kB / 0.6673 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.2155, allocations: 0 / 0.6673 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.2155, allocations: 0 / 0.6673 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002077/0.2157, allocations: 39.95 kB / 0.6674 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005988/0.2163, allocations: 244.9 kB / 0.6676 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.2165, allocations: 46.42 kB / 0.6677 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.2166, allocations: 20.91 kB / 0.6677 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001056/0.2177, allocations: 453.5 kB / 0.6681 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.953e-05/0.2178, allocations: 30.56 kB / 0.6681 GB, free: 2 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.783e-06/0.2178, allocations: 0 / 0.6681 GB, free: 2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0004315/0.2182, allocations: 85.64 kB / 0.6682 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/0.2183, allocations: 51.41 kB / 0.6683 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.2184, allocations: 101.8 kB / 0.6684 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.2184, allocations: 25.7 kB / 0.6684 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.65e-05/0.2185, allocations: 88.08 kB / 0.6685 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.933e-05/0.2186, allocations: 11.94 kB / 0.6685 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.341e-05/0.2186, allocations: 9.719 kB / 0.6685 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001946/0.2188, allocations: 323 kB / 0.6688 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.184e-05/0.2189, allocations: 15.98 kB / 0.6688 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.857e-05/0.219, allocations: 11.98 kB / 0.6688 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.2192, allocations: 40.81 kB / 0.6689 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.2192, allocations: 3.938 kB / 0.6689 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002095/0.2194, allocations: 65.73 kB / 0.6689 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.2194, allocations: 4 kB / 0.6689 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.2195, allocations: 0 / 0.6689 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.2195, allocations: 0 / 0.6689 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.2196, allocations: 23.92 kB / 0.669 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.2196, allocations: 0 / 0.669 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.713e-05/0.2197, allocations: 7.984 kB / 0.669 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-06/0.2197, allocations: 0 / 0.669 GB, free: 1.086 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 0.0001143/0.2198, allocations: 113.8 kB / 0.6691 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.16e-05/0.2199, allocations: 7.938 kB / 0.6691 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000288/0.2201, allocations: 76.67 kB / 0.6692 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.2202, allocations: 0 / 0.6692 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.2202, allocations: 0 / 0.6692 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2202, allocations: 4 kB / 0.6692 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002321/0.2204, allocations: 161.6 kB / 0.6693 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2204, allocations: 4 kB / 0.6693 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.045e-05/0.2205, allocations: 7.984 kB / 0.6693 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.2205, allocations: 0 / 0.6693 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.2205, allocations: 4 kB / 0.6693 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.052e-06/0.2205, allocations: 7.922 kB / 0.6693 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2205, allocations: 0 / 0.6693 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002953/0.2208, allocations: 167.5 kB / 0.6695 GB, free: 468 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.49e-05/0.2209, allocations: 77.11 kB / 0.6696 GB, free: 372 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.2209, allocations: 0 / 0.6696 GB, free: 372 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.881e-05/0.221, allocations: 7.984 kB / 0.6696 GB, free: 364 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.09e-05/0.2211, allocations: 0 / 0.6696 GB, free: 364 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.2211, allocations: 0 / 0.6696 GB, free: 364 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.753e-05/0.2212, allocations: 79.47 kB / 0.6697 GB, free: 284 kB / 0.4981 GB Notification: Performance of sort global known variables: time 2.11e-07/0.2212, allocations: 0 / 0.6697 GB, free: 284 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002738/0.2214, allocations: 27.92 kB / 0.6697 GB, free: 256 kB / 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.0008557/0.2223, allocations: 0.7164 MB / 0.6704 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002324/0.2226, allocations: 35.95 kB / 0.6704 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2226, allocations: 0 / 0.6704 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.216e-05/0.2227, allocations: 15.98 kB / 0.6704 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.2229, allocations: 11.94 kB / 0.6704 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005038/0.2234, allocations: 135.2 kB / 0.6706 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003906/0.2238, allocations: 0.6768 MB / 0.6712 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.99e-05/0.2239, allocations: 7.984 kB / 0.6712 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.896e-05/0.2239, allocations: 7.438 kB / 0.6712 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of SimCode: time 5.01e-07/0.2239, allocations: 0 / 0.6712 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02349/0.2474, allocations: 1.497 MB / 0.6727 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.914/8.162, allocations: 6.781 kB / 0.6727 GB, free: 13.11 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0_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_BesselJ0.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe 2>&1)