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.001406/0.001406, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001715/0.001715, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.294/2.294, allocations: 223.2 MB / 239.9 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.535/1.535, allocations: 135.2 MB / 426.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005829/0.0005831, allocations: 16 kB / 0.5069 GB, free: 5.133 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2258, allocations: 82.32 MB / 0.5873 GB, free: 3 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.002692/0.2286, allocations: 1.14 MB / 0.5884 GB, free: 1.848 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008628/0.2295, allocations: 240.2 kB / 0.5886 GB, free: 1.609 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.588e-05/0.2296, allocations: 4 kB / 0.5886 GB, free: 1.605 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.955e-05/0.2296, allocations: 0 / 0.5886 GB, free: 1.605 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.388e-05/0.2297, allocations: 3.984 kB / 0.5886 GB, free: 1.602 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004291/0.2301, allocations: 51.81 kB / 0.5887 GB, free: 1.551 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.632e-05/0.2302, allocations: 8 kB / 0.5887 GB, free: 1.543 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.2303, allocations: 7.984 kB / 0.5887 GB, free: 1.535 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.241e-05/0.2304, allocations: 4 kB / 0.5887 GB, free: 1.531 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.996e-05/0.2305, allocations: 19.91 kB / 0.5887 GB, free: 1.512 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.2305, allocations: 0 / 0.5887 GB, free: 1.512 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002476/0.2308, allocations: 59.95 kB / 0.5888 GB, free: 1.453 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.569e-05/0.2308, allocations: 3.984 kB / 0.5888 GB, free: 1.449 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.958e-05/0.2309, allocations: 29.64 kB / 0.5888 GB, free: 1.414 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.231, allocations: 31.94 kB / 0.5888 GB, free: 1.383 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.231, allocations: 0 / 0.5888 GB, free: 1.383 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.231, allocations: 0 / 0.5888 GB, free: 1.383 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.2311, allocations: 4 kB / 0.5888 GB, free: 1.379 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006445/0.2317, allocations: 351.5 kB / 0.5892 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.92e-05/0.2318, allocations: 8.031 kB / 0.5892 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.14e-05/0.2319, allocations: 34.5 kB / 0.5892 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.135e-05/0.2319, allocations: 7.984 kB / 0.5892 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.2321, allocations: 167 kB / 0.5894 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.2321, allocations: 0 / 0.5894 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.2322, allocations: 8 kB / 0.5894 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002865/0.2325, allocations: 53.67 kB / 0.5894 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.527e-06/0.2325, allocations: 0 / 0.5894 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.2325, allocations: 0 / 0.5894 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.2326, allocations: 3.938 kB / 0.5894 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003427/0.2329, allocations: 43.97 kB / 0.5895 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004594/0.2334, allocations: 248.9 kB / 0.5897 GB, free: 328 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002894/0.2337, allocations: 42.56 kB / 0.5898 GB, free: 276 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001133/0.2349, allocations: 461.5 kB / 0.5902 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.393e-05/0.2349, allocations: 34.5 kB / 0.5902 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 2.204e-06/0.2349, allocations: 0 / 0.5902 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0007453/0.2357, allocations: 105.5 kB / 0.5903 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.2358, allocations: 51.41 kB / 0.5904 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.2359, allocations: 106 kB / 0.5905 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.2359, allocations: 25.7 kB / 0.5905 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.143e-05/0.236, allocations: 80.14 kB / 0.5906 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.488e-05/0.2361, allocations: 7.906 kB / 0.5906 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/0.2361, allocations: 0 / 0.5906 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.2362, allocations: 318.8 kB / 0.5909 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.2364, allocations: 19.97 kB / 0.5909 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.2366, allocations: 27.98 kB / 0.5909 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.2367, allocations: 19.92 kB / 0.591 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.2368, allocations: 4 kB / 0.591 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003991/0.2372, allocations: 77.72 kB / 0.591 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.2372, allocations: 4 kB / 0.591 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.2372, allocations: 0 / 0.591 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.2373, allocations: 0 / 0.591 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.2374, allocations: 11.98 kB / 0.5911 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.2374, allocations: 8.031 kB / 0.5911 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.2375, allocations: 8 kB / 0.5911 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.2376, allocations: 0 / 0.5911 GB, free: 14.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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001379/0.2377, allocations: 121.8 kB / 0.5912 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.34e-05/0.2378, allocations: 3.938 kB / 0.5912 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004665/0.2383, allocations: 88.72 kB / 0.5913 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.2383, allocations: 0 / 0.5913 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.2383, allocations: 0 / 0.5913 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2383, allocations: 192 / 0.5913 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003127/0.2386, allocations: 161.6 kB / 0.5914 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.2387, allocations: 3.984 kB / 0.5914 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.2388, allocations: 11.98 kB / 0.5914 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.2388, allocations: 7.969 kB / 0.5915 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.2389, allocations: 4 kB / 0.5915 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.2389, allocations: 0 / 0.5915 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.2389, allocations: 3.984 kB / 0.5915 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004638/0.2394, allocations: 179.3 kB / 0.5916 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.782e-05/0.2394, allocations: 77.11 kB / 0.5917 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.2395, allocations: 7.984 kB / 0.5917 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.2397, allocations: 8 kB / 0.5917 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.831e-05/0.2397, allocations: 3.984 kB / 0.5917 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.2398, allocations: 4 kB / 0.5917 GB, free: 14 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.922e-05/0.2398, allocations: 75.28 kB / 0.5918 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.81e-07/0.2398, allocations: 4.031 kB / 0.5918 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004814/0.2403, allocations: 20 kB / 0.5918 GB, free: 13.9 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009651/0.2413, allocations: 0.7202 MB / 0.5925 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003808/0.2417, allocations: 51.94 kB / 0.5926 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.2417, allocations: 0 / 0.5926 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001768/0.2419, allocations: 27.97 kB / 0.5926 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.2422, allocations: 0 / 0.5926 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006355/0.2429, allocations: 150.4 kB / 0.5927 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004629/0.2434, allocations: 0.677 MB / 0.5934 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.93e-05/0.2434, allocations: 4 kB / 0.5934 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.268e-05/0.2435, allocations: 11.44 kB / 0.5934 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of SimCode: time 6.11e-07/0.2435, allocations: 0 / 0.5934 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02624/0.2697, allocations: 1.222 MB / 0.5946 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002779/0.2701, allocations: 171.5 kB / 0.5948 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.477/2.747, allocations: 0 / 0.5948 GB, free: 10.82 MB / 0.4981 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ1.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe 2>&1) Environment - environmentSimulation: