Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Functions.Examples.BesselJ1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="IDEAS_dev_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.0007975/0.0007975, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005073/0.005073, allocations: 169 kB / 16.26 MB, free: 6.652 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.317/1.317, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8528/0.8528, allocations: 135.3 MB / 426.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003176/0.0003177, allocations: 12 kB / 0.5077 GB, free: 4.645 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1497, allocations: 82.31 MB / 0.5881 GB, free: 2.508 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.0005564/0.1503, allocations: 307.1 kB / 0.5884 GB, free: 2.203 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004136/0.1507, allocations: 195.5 kB / 0.5886 GB, free: 2.012 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.454e-06/0.1507, allocations: 11.88 kB / 0.5886 GB, free: 2 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.965e-06/0.1507, allocations: 0 / 0.5886 GB, free: 2 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.888e-06/0.1507, allocations: 0 / 0.5886 GB, free: 2 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002605/0.151, allocations: 39.89 kB / 0.5886 GB, free: 1.961 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.294e-05/0.151, allocations: 4 kB / 0.5886 GB, free: 1.957 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.159e-05/0.1511, allocations: 0 / 0.5886 GB, free: 1.957 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.159e-05/0.1511, allocations: 0 / 0.5886 GB, free: 1.957 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.65e-05/0.1511, allocations: 4 kB / 0.5886 GB, free: 1.953 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.799e-06/0.1511, allocations: 0 / 0.5886 GB, free: 1.953 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001507/0.1513, allocations: 63.88 kB / 0.5887 GB, free: 1.891 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.585e-06/0.1513, allocations: 11.92 kB / 0.5887 GB, free: 1.879 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.26e-05/0.1513, allocations: 25.7 kB / 0.5887 GB, free: 1.848 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.438e-05/0.1514, allocations: 35.95 kB / 0.5888 GB, free: 1.812 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.1514, allocations: 0 / 0.5888 GB, free: 1.812 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1515, allocations: 0 / 0.5888 GB, free: 1.812 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.735e-06/0.1515, allocations: 0 / 0.5888 GB, free: 1.812 MB / 494.1 MB 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.0002406/0.1517, allocations: 321.5 kB / 0.5891 GB, free: 1.449 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.1517, allocations: 8.031 kB / 0.5891 GB, free: 1.441 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.638e-05/0.1518, allocations: 30.75 kB / 0.5891 GB, free: 1.402 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.778e-05/0.1518, allocations: 8.875 kB / 0.5891 GB, free: 1.395 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.401e-05/0.1519, allocations: 164.4 kB / 0.5893 GB, free: 1.195 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.737e-06/0.1519, allocations: 384 / 0.5893 GB, free: 1.195 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.773e-06/0.1519, allocations: 384 / 0.5893 GB, free: 1.195 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.211e-05/0.152, allocations: 34.19 kB / 0.5893 GB, free: 1.156 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.152, allocations: 3.938 kB / 0.5893 GB, free: 1.152 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.412e-06/0.152, allocations: 4 kB / 0.5893 GB, free: 1.148 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-06/0.152, allocations: 0 / 0.5893 GB, free: 1.148 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.36e-05/0.152, allocations: 0 / 0.5893 GB, free: 1.148 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001183/0.1522, allocations: 153.7 kB / 0.5895 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.034e-05/0.1522, allocations: 18.61 kB / 0.5895 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.534e-05/0.1522, allocations: 6.516 kB / 0.5895 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006822/0.1529, allocations: 461.5 kB / 0.5899 GB, free: 380 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.1529, allocations: 38.5 kB / 0.59 GB, free: 332 kB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.153, allocations: 0 / 0.59 GB, free: 332 kB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001143/0.1531, allocations: 37.62 kB / 0.59 GB, free: 288 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.1531, allocations: 51.41 kB / 0.59 GB, free: 224 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.296e-05/0.1531, allocations: 89.86 kB / 0.5901 GB, free: 124 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.1532, allocations: 25.7 kB / 0.5901 GB, free: 92 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.42e-05/0.1532, allocations: 80.14 kB / 0.5902 GB, free: 8 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.1532, allocations: 7.906 kB / 0.5902 GB, free: 0 / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-05/0.1533, allocations: 17.89 kB / 0.5902 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.708e-05/0.1534, allocations: 310.8 kB / 0.5905 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.394e-06/0.1534, allocations: 3.938 kB / 0.5905 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.072e-06/0.1534, allocations: 0 / 0.5905 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.157e-05/0.1534, allocations: 12.8 kB / 0.5906 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.1534, allocations: 0 / 0.5906 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.07e-05/0.1535, allocations: 33.69 kB / 0.5906 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.1535, allocations: 8 kB / 0.5906 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.1535, allocations: 8.031 kB / 0.5906 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.584e-06/0.1535, allocations: 0 / 0.5906 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.005e-05/0.1536, allocations: 0 / 0.5906 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.387e-06/0.1536, allocations: 0 / 0.5906 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.246e-06/0.1536, allocations: 4 kB / 0.5906 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.1536, allocations: 0 / 0.5906 GB, free: 15.58 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 6.116e-05/0.1537, allocations: 109.8 kB / 0.5907 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.54e-06/0.1537, allocations: 3.938 kB / 0.5907 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.543e-05/0.1538, allocations: 48.69 kB / 0.5908 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.1538, allocations: 0 / 0.5908 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1538, allocations: 7.938 kB / 0.5908 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.1538, allocations: 0 / 0.5908 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.861e-05/0.1539, allocations: 149.7 kB / 0.5909 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.1539, allocations: 0 / 0.5909 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.037e-05/0.1539, allocations: 0 / 0.5909 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.1539, allocations: 4 kB / 0.5909 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.1539, allocations: 7.938 kB / 0.5909 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1539, allocations: 0 / 0.5909 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1539, allocations: 0 / 0.5909 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.573e-05/0.154, allocations: 57.11 kB / 0.591 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.986e-05/0.154, allocations: 81.09 kB / 0.5911 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.836e-06/0.1541, allocations: 7.938 kB / 0.5911 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.362e-06/0.1541, allocations: 0 / 0.5911 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.354e-06/0.1541, allocations: 0 / 0.5911 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.1541, allocations: 0 / 0.5911 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.51e-05/0.1541, allocations: 79.28 kB / 0.5911 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1541, allocations: 4.031 kB / 0.5911 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001889/0.1543, allocations: 16 kB / 0.5912 GB, free: 14.92 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.0003993/0.1547, allocations: 0.6088 MB / 0.5918 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.061e-05/0.1548, allocations: 11.92 kB / 0.5918 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.1548, allocations: 0 / 0.5918 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.169e-06/0.1548, allocations: 0 / 0.5918 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001165/0.1549, allocations: 4 kB / 0.5918 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002323/0.1552, allocations: 116.3 kB / 0.5919 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/0.1554, allocations: 0.6731 MB / 0.5925 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.112e-05/0.1554, allocations: 8.125 kB / 0.5925 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.144e-05/0.1554, allocations: 7.438 kB / 0.5926 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.1554, allocations: 0 / 0.5926 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.149/0.3044, allocations: 0.9546 MB / 0.5935 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001812/0.3047, allocations: 194.6 kB / 0.5937 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.997/2.301, allocations: 8.062 kB / 0.5937 GB, free: 12.31 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ1.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)