Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Examples.BesselJ1,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselJ1,fileNamePrefix="IDEAS_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.008768/0.008768, allocations: 99.44 kB / 15.73 MB, free: 5.996 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.001614/0.001614, allocations: 196.8 kB / 16.68 MB, free: 5.918 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7865/0.7865, allocations: 132.2 MB / 422.7 MB, free: 6.613 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002308/0.002308, allocations: 61.16 kB / 0.5809 GB, free: 23.94 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1767, allocations: 80.21 MB / 0.6592 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.00275/0.1795, allocations: 1.422 MB / 0.6606 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005534/0.1801, allocations: 256 kB / 0.6608 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.738e-05/0.1801, allocations: 0 / 0.6608 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.711e-05/0.1802, allocations: 0 / 0.6608 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.539e-05/0.1802, allocations: 11.94 kB / 0.6608 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004126/0.1807, allocations: 59.81 kB / 0.6609 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.731e-05/0.1808, allocations: 27.86 kB / 0.6609 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.523e-05/0.1809, allocations: 4 kB / 0.6609 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.174e-05/0.1809, allocations: 11.98 kB / 0.6609 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.986e-05/0.181, allocations: 11.92 kB / 0.6609 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.215e-06/0.181, allocations: 0 / 0.6609 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001563/0.1811, allocations: 59.94 kB / 0.661 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.506e-05/0.1812, allocations: 8 kB / 0.661 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.651e-05/0.1812, allocations: 11.92 kB / 0.661 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.1814, allocations: 59.8 kB / 0.6611 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1814, allocations: 0 / 0.6611 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.074e-06/0.1814, allocations: 0 / 0.6611 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.767e-06/0.1814, allocations: 0 / 0.6611 GB, free: 8.812 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.0004863/0.1819, allocations: 346.2 kB / 0.6614 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.1819, allocations: 12.03 kB / 0.6614 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.974e-05/0.182, allocations: 30.75 kB / 0.6614 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.015e-05/0.182, allocations: 0.9375 kB / 0.6614 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.1822, allocations: 172.4 kB / 0.6616 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.1822, allocations: 384 / 0.6616 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.1822, allocations: 384 / 0.6616 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.1824, allocations: 54.23 kB / 0.6617 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.1824, allocations: 3.938 kB / 0.6617 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.1824, allocations: 0 / 0.6617 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.1824, allocations: 3.938 kB / 0.6617 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001679/0.1826, allocations: 31.97 kB / 0.6617 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003462/0.183, allocations: 253 kB / 0.6619 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.1831, allocations: 38.5 kB / 0.662 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.203e-05/0.1832, allocations: 24.89 kB / 0.662 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007294/0.1839, allocations: 461.5 kB / 0.6624 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.184, allocations: 34.5 kB / 0.6625 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.184, allocations: 0 / 0.6625 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003532/0.1843, allocations: 89.64 kB / 0.6626 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/0.1844, allocations: 51.41 kB / 0.6626 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.462e-05/0.1845, allocations: 97.84 kB / 0.6627 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.1845, allocations: 25.7 kB / 0.6627 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.867e-05/0.1846, allocations: 88.14 kB / 0.6628 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.1846, allocations: 4.75 kB / 0.6628 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.1847, allocations: 13.72 kB / 0.6628 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1848, allocations: 318.8 kB / 0.6631 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.893e-05/0.1849, allocations: 16.02 kB / 0.6632 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.057e-05/0.185, allocations: 19.92 kB / 0.6632 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.1851, allocations: 40.81 kB / 0.6632 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.1852, allocations: 3.938 kB / 0.6632 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001974/0.1854, allocations: 65.73 kB / 0.6633 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.1854, allocations: 4 kB / 0.6633 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.1854, allocations: 3.984 kB / 0.6633 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.1854, allocations: 0 / 0.6633 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.102e-05/0.1855, allocations: 11.98 kB / 0.6633 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.1855, allocations: 3.938 kB / 0.6633 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.735e-05/0.1856, allocations: 11.92 kB / 0.6633 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.1856, allocations: 0 / 0.6633 GB, free: 6.199 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 8.322e-05/0.1857, allocations: 126.6 kB / 0.6634 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.1857, allocations: 3.938 kB / 0.6634 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002272/0.1859, allocations: 64.78 kB / 0.6635 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.1859, allocations: 0 / 0.6635 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1859, allocations: 4 kB / 0.6635 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.186, allocations: 0 / 0.6635 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/0.1861, allocations: 165.6 kB / 0.6637 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1861, allocations: 0 / 0.6637 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.777e-05/0.1862, allocations: 12.02 kB / 0.6637 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.1862, allocations: 4 kB / 0.6637 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-06/0.1862, allocations: 0 / 0.6637 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1862, allocations: 0 / 0.6637 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1862, allocations: 0 / 0.6637 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002494/0.1865, allocations: 175.3 kB / 0.6638 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.139e-05/0.1866, allocations: 81.14 kB / 0.6639 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.1866, allocations: 0 / 0.6639 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.322e-05/0.1867, allocations: 7.984 kB / 0.6639 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.011e-05/0.1867, allocations: 4 kB / 0.6639 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.1867, allocations: 4 kB / 0.6639 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.037e-05/0.1867, allocations: 75.28 kB / 0.664 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1868, allocations: 4 kB / 0.664 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002369/0.187, allocations: 16 kB / 0.664 GB, free: 5.363 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.0006104/0.1876, allocations: 0.7163 MB / 0.6647 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002056/0.1878, allocations: 39.98 kB / 0.6648 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1878, allocations: 0 / 0.6648 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.942e-05/0.1879, allocations: 19.98 kB / 0.6648 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.1882, allocations: 6.297 kB / 0.6648 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00045/0.1886, allocations: 135.3 kB / 0.6649 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.1889, allocations: 0.6807 MB / 0.6656 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.454e-05/0.189, allocations: 3.906 kB / 0.6656 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.591e-05/0.189, allocations: 19.38 kB / 0.6656 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.189, allocations: 3.938 kB / 0.6656 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0186/0.2076, allocations: 1.507 MB / 0.6671 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.47/7.677, allocations: 8.422 kB / 0.6671 GB, free: 2.211 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_BesselJ1.fmu > IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe 2>&1)