Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.BesselJ1,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_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.005611/0.005611, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001126/0.001126, allocations: 188.6 kB / 16.67 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7446/0.7446, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 65.53 kB / 0.5809 GB, free: 1.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1749, allocations: 80.2 MB / 0.6592 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.001804/0.1768, allocations: 0.5758 MB / 0.6598 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005475/0.1774, allocations: 198 kB / 0.66 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.777e-05/0.1774, allocations: 4 kB / 0.66 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.519e-05/0.1774, allocations: 0 / 0.66 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.043e-06/0.1775, allocations: 3.938 kB / 0.66 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004271/0.1779, allocations: 55.83 kB / 0.66 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.312e-05/0.178, allocations: 4 kB / 0.66 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.144e-05/0.178, allocations: 4 kB / 0.6601 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.616e-05/0.178, allocations: 3.984 kB / 0.6601 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.919e-05/0.1781, allocations: 0 / 0.6601 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.632e-06/0.1781, allocations: 0 / 0.6601 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001716/0.1782, allocations: 55.94 kB / 0.6601 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.178e-06/0.1783, allocations: 0 / 0.6601 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.057e-05/0.1783, allocations: 7.938 kB / 0.6601 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.1784, allocations: 35.88 kB / 0.6601 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1784, allocations: 0 / 0.6601 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1784, allocations: 4 kB / 0.6602 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.1784, allocations: 0 / 0.6602 GB, free: 13.01 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.000309/0.1787, allocations: 323.6 kB / 0.6605 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.1788, allocations: 8.031 kB / 0.6605 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.088e-05/0.1788, allocations: 34.75 kB / 0.6605 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.319e-05/0.1789, allocations: 4.938 kB / 0.6605 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.179, allocations: 160.4 kB / 0.6607 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.632e-05/0.179, allocations: 384 / 0.6607 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.179, allocations: 384 / 0.6607 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.903e-05/0.1791, allocations: 34.25 kB / 0.6607 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.1791, allocations: 3.938 kB / 0.6607 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.1791, allocations: 4 kB / 0.6607 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1792, allocations: 0 / 0.6607 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.174e-05/0.1792, allocations: 3.938 kB / 0.6607 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001482/0.1793, allocations: 145.7 kB / 0.6608 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.176e-05/0.1794, allocations: 18.61 kB / 0.6609 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.498e-05/0.1794, allocations: 4.859 kB / 0.6609 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008017/0.1802, allocations: 457.5 kB / 0.6613 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/0.1803, allocations: 38.56 kB / 0.6613 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.1803, allocations: 0 / 0.6613 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001486/0.1804, allocations: 45.59 kB / 0.6614 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.56e-05/0.1805, allocations: 55.44 kB / 0.6614 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.421e-05/0.1805, allocations: 89.86 kB / 0.6615 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.1805, allocations: 25.7 kB / 0.6615 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.105e-05/0.1806, allocations: 80.14 kB / 0.6616 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.1806, allocations: 0 / 0.6616 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/0.1806, allocations: 17.72 kB / 0.6616 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.1808, allocations: 310.8 kB / 0.6619 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.606e-06/0.1808, allocations: 3.938 kB / 0.6619 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.64e-06/0.1808, allocations: 4 kB / 0.6619 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.993e-05/0.1808, allocations: 16.84 kB / 0.662 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1808, allocations: 0 / 0.662 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.371e-05/0.1809, allocations: 41.62 kB / 0.662 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.1809, allocations: 4 kB / 0.662 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.1809, allocations: 3.938 kB / 0.662 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.1809, allocations: 0 / 0.662 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.877e-05/0.181, allocations: 0 / 0.662 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.181, allocations: 8.094 kB / 0.662 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.929e-06/0.181, allocations: 0 / 0.662 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.181, allocations: 0 / 0.662 GB, free: 10.77 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 0.0001137/0.1811, allocations: 114.5 kB / 0.6621 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.662e-06/0.1811, allocations: 0 / 0.6621 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.927e-05/0.1812, allocations: 40.7 kB / 0.6622 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.1812, allocations: 4 kB / 0.6622 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1812, allocations: 0 / 0.6622 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1813, allocations: 0 / 0.6622 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.722e-05/0.1813, allocations: 153.6 kB / 0.6623 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1814, allocations: 0 / 0.6623 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.233e-05/0.1814, allocations: 0 / 0.6623 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1814, allocations: 4 kB / 0.6623 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.1814, allocations: 7.938 kB / 0.6623 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1814, allocations: 0 / 0.6623 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1814, allocations: 0 / 0.6623 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.932e-05/0.1815, allocations: 53.12 kB / 0.6624 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.763e-05/0.1815, allocations: 85.14 kB / 0.6625 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/0.1815, allocations: 3.938 kB / 0.6625 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.593e-06/0.1815, allocations: 0 / 0.6625 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.054e-05/0.1816, allocations: 0 / 0.6625 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-06/0.1816, allocations: 0 / 0.6625 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.505e-05/0.1816, allocations: 83.22 kB / 0.6625 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1816, allocations: 0 / 0.6625 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002079/0.1818, allocations: 12 kB / 0.6626 GB, free: 10.12 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.0004397/0.1823, allocations: 0.6268 MB / 0.6632 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.267e-05/0.1823, allocations: 7.938 kB / 0.6632 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.1823, allocations: 4.094 kB / 0.6632 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.235e-06/0.1824, allocations: 3.938 kB / 0.6632 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000125/0.1825, allocations: 4 kB / 0.6632 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000319/0.1828, allocations: 118.6 kB / 0.6633 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.1831, allocations: 0.669 MB / 0.6639 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.243e-05/0.1831, allocations: 4 kB / 0.664 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.463e-05/0.1831, allocations: 7.438 kB / 0.664 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of SimCode: time 3.4e-07/0.1831, allocations: 0 / 0.664 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01491/0.198, allocations: 1.14 MB / 0.6651 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.405/7.603, allocations: 1.531 kB / 0.6651 GB, free: 7.539 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ1.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)