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.0008314/0.0008315, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008689/0.000869, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 223.2 MB / 240 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9384/0.9384, allocations: 135.3 MB / 426.3 MB, free: 14.17 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003109/0.0003109, allocations: 13.92 kB / 0.5071 GB, free: 5.039 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1419, allocations: 82.31 MB / 0.5875 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.00132/0.1432, allocations: 1.136 MB / 0.5886 GB, free: 1.75 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004152/0.1436, allocations: 245.9 kB / 0.5888 GB, free: 1.508 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.656e-05/0.1437, allocations: 0 / 0.5888 GB, free: 1.508 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.002e-05/0.1437, allocations: 4 kB / 0.5888 GB, free: 1.504 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.212e-05/0.1437, allocations: 4 kB / 0.5888 GB, free: 1.5 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002338/0.144, allocations: 39.91 kB / 0.5889 GB, free: 1.461 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.503e-05/0.144, allocations: 23.92 kB / 0.5889 GB, free: 1.438 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.16e-05/0.1441, allocations: 0 / 0.5889 GB, free: 1.438 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.392e-05/0.1441, allocations: 15.91 kB / 0.5889 GB, free: 1.422 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.865e-05/0.1442, allocations: 8 kB / 0.5889 GB, free: 1.414 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.384e-06/0.1442, allocations: 0 / 0.5889 GB, free: 1.414 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.1443, allocations: 63.88 kB / 0.589 GB, free: 1.352 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.136e-06/0.1443, allocations: 8 kB / 0.589 GB, free: 1.344 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.882e-05/0.1444, allocations: 25.7 kB / 0.589 GB, free: 1.312 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.976e-05/0.1444, allocations: 39.92 kB / 0.589 GB, free: 1.273 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1444, allocations: 3.938 kB / 0.589 GB, free: 1.27 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1445, allocations: 3.938 kB / 0.589 GB, free: 1.266 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.955e-06/0.1445, allocations: 0 / 0.589 GB, free: 1.266 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.0003624/0.1448, allocations: 351.5 kB / 0.5894 GB, free: 0.875 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.1449, allocations: 12.03 kB / 0.5894 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.152e-05/0.1449, allocations: 30.56 kB / 0.5894 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.889e-05/0.1449, allocations: 4 kB / 0.5894 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.145, allocations: 163 kB / 0.5896 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.165e-06/0.1451, allocations: 0 / 0.5896 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.871e-06/0.1451, allocations: 0 / 0.5896 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.1452, allocations: 53.67 kB / 0.5896 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.48e-06/0.1452, allocations: 8 kB / 0.5896 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.851e-06/0.1452, allocations: 0 / 0.5896 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1453, allocations: 3.938 kB / 0.5896 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001533/0.1454, allocations: 47.89 kB / 0.5897 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002613/0.1457, allocations: 248.9 kB / 0.5899 GB, free: 216 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.1458, allocations: 42.59 kB / 0.59 GB, free: 164 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.947e-05/0.1459, allocations: 28.91 kB / 0.59 GB, free: 132 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006017/0.1465, allocations: 457.5 kB / 0.5904 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.1466, allocations: 42.56 kB / 0.5905 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1466, allocations: 0 / 0.5905 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003178/0.1469, allocations: 101.5 kB / 0.5906 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.1469, allocations: 51.41 kB / 0.5906 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.25e-05/0.147, allocations: 105.8 kB / 0.5907 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.147, allocations: 33.83 kB / 0.5907 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.095e-05/0.147, allocations: 80.14 kB / 0.5908 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.343e-05/0.1471, allocations: 7.906 kB / 0.5908 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/0.1471, allocations: 0 / 0.5908 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.216e-05/0.1472, allocations: 314.8 kB / 0.5911 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.542e-05/0.1473, allocations: 23.98 kB / 0.5911 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.794e-05/0.1473, allocations: 23.97 kB / 0.5912 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.168e-05/0.1474, allocations: 23.98 kB / 0.5912 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.1474, allocations: 0 / 0.5912 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001793/0.1476, allocations: 81.66 kB / 0.5913 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.1476, allocations: 4 kB / 0.5913 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.1476, allocations: 7.984 kB / 0.5913 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.324e-06/0.1476, allocations: 3.938 kB / 0.5913 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.451e-05/0.1477, allocations: 8 kB / 0.5913 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.1477, allocations: 0 / 0.5913 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.789e-05/0.1478, allocations: 12.02 kB / 0.5913 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.1478, allocations: 4 kB / 0.5913 GB, free: 14.62 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 6.509e-05/0.1479, allocations: 109.8 kB / 0.5914 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.183e-05/0.1479, allocations: 0 / 0.5914 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002045/0.1481, allocations: 92.7 kB / 0.5915 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1481, allocations: 0 / 0.5915 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1481, allocations: 0 / 0.5915 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1481, allocations: 4 kB / 0.5915 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.1483, allocations: 161.6 kB / 0.5917 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1483, allocations: 0 / 0.5917 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.48e-05/0.1484, allocations: 11.98 kB / 0.5917 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1484, allocations: 0 / 0.5917 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-06/0.1484, allocations: 4.031 kB / 0.5917 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1484, allocations: 0 / 0.5917 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1484, allocations: 0 / 0.5917 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002215/0.1486, allocations: 183.4 kB / 0.5918 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.748e-05/0.1487, allocations: 81.05 kB / 0.5919 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.1487, allocations: 0 / 0.5919 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.143e-05/0.1487, allocations: 15.92 kB / 0.5919 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.309e-05/0.1488, allocations: 0 / 0.5919 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-06/0.1488, allocations: 0 / 0.5919 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.892e-05/0.1488, allocations: 87.27 kB / 0.592 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1488, allocations: 0 / 0.592 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002266/0.1491, allocations: 12 kB / 0.592 GB, free: 13.77 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.0005243/0.1496, allocations: 0.7281 MB / 0.5927 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001804/0.1498, allocations: 47.91 kB / 0.5928 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1498, allocations: 0 / 0.5928 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.856e-05/0.1499, allocations: 27.98 kB / 0.5928 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/0.1501, allocations: 3.516 kB / 0.5928 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003358/0.1504, allocations: 154.3 kB / 0.593 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002208/0.1507, allocations: 0.677 MB / 0.5936 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.036e-05/0.1507, allocations: 4 kB / 0.5936 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.461e-05/0.1507, allocations: 11.42 kB / 0.5936 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1507, allocations: 0 / 0.5936 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009841/0.1606, allocations: 1.249 MB / 0.5949 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001959/0.1608, allocations: 171.3 kB / 0.595 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.61/1.771, allocations: 4 kB / 0.595 GB, free: 10.66 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: