Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.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.BesselJ0,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselJ0,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ0",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.0009869/0.0009868, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009666/0.0009667, allocations: 192.2 kB / 16.53 MB, free: 6.391 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.32/1.32, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8506/0.8506, allocations: 135.1 MB / 425.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 60.28 kB / 0.5054 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1245, allocations: 80.93 MB / 0.5845 GB, free: 4.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.002456/0.127, allocations: 1.432 MB / 0.5859 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004458/0.1275, allocations: 237.7 kB / 0.5861 GB, free: 2.773 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.405e-05/0.1275, allocations: 4 kB / 0.5861 GB, free: 2.77 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.263e-05/0.1275, allocations: 3.984 kB / 0.5861 GB, free: 2.766 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.622e-05/0.1276, allocations: 3.938 kB / 0.5861 GB, free: 2.762 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003093/0.1279, allocations: 55.83 kB / 0.5862 GB, free: 2.707 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.629e-05/0.128, allocations: 23.94 kB / 0.5862 GB, free: 2.684 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.53e-05/0.1281, allocations: 7.969 kB / 0.5862 GB, free: 2.676 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.365e-05/0.1281, allocations: 11.94 kB / 0.5862 GB, free: 2.664 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.113e-05/0.1281, allocations: 7.984 kB / 0.5862 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.206e-06/0.1282, allocations: 0 / 0.5862 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.1283, allocations: 55.95 kB / 0.5863 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.364e-05/0.1283, allocations: 7.984 kB / 0.5863 GB, free: 2.594 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.976e-05/0.1283, allocations: 7.938 kB / 0.5863 GB, free: 2.586 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.1285, allocations: 59.86 kB / 0.5863 GB, free: 2.527 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1285, allocations: 0 / 0.5863 GB, free: 2.527 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1285, allocations: 3.938 kB / 0.5863 GB, free: 2.523 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.1285, allocations: 0 / 0.5863 GB, free: 2.523 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.0003725/0.1289, allocations: 347.7 kB / 0.5867 GB, free: 2.133 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.1289, allocations: 12.03 kB / 0.5867 GB, free: 2.121 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.602e-05/0.1289, allocations: 30.75 kB / 0.5867 GB, free: 2.082 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.205e-05/0.129, allocations: 4.922 kB / 0.5867 GB, free: 2.078 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.805e-05/0.1291, allocations: 168.3 kB / 0.5869 GB, free: 1.875 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.362e-06/0.1291, allocations: 4.375 kB / 0.5869 GB, free: 1.871 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-06/0.1291, allocations: 384 / 0.5869 GB, free: 1.871 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.1292, allocations: 50.23 kB / 0.5869 GB, free: 1.816 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.1293, allocations: 3.938 kB / 0.5869 GB, free: 1.812 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.1293, allocations: 0 / 0.5869 GB, free: 1.812 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.1293, allocations: 0 / 0.5869 GB, free: 1.812 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001536/0.1294, allocations: 35.91 kB / 0.587 GB, free: 1.777 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000264/0.1297, allocations: 253 kB / 0.5872 GB, free: 1.48 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.1298, allocations: 34.5 kB / 0.5872 GB, free: 1.438 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.264e-05/0.1299, allocations: 24.89 kB / 0.5873 GB, free: 1.41 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005461/0.1305, allocations: 457.5 kB / 0.5877 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/0.1305, allocations: 30.56 kB / 0.5877 GB, free: 0.832 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.1305, allocations: 3.938 kB / 0.5877 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003381/0.1308, allocations: 85.67 kB / 0.5878 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/0.1309, allocations: 55.44 kB / 0.5879 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.722e-05/0.1309, allocations: 97.84 kB / 0.588 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.131, allocations: 29.7 kB / 0.588 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.363e-05/0.131, allocations: 88.08 kB / 0.5881 GB, free: 452 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.415e-05/0.131, allocations: 7.891 kB / 0.5881 GB, free: 444 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.776e-05/0.1311, allocations: 13.72 kB / 0.5881 GB, free: 424 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.778e-05/0.1311, allocations: 314.8 kB / 0.5884 GB, free: 100 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.912e-05/0.1312, allocations: 19.97 kB / 0.5884 GB, free: 80 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.748e-05/0.1313, allocations: 19.98 kB / 0.5884 GB, free: 60 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.1314, allocations: 40.77 kB / 0.5885 GB, free: 16 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.1315, allocations: 3.938 kB / 0.5885 GB, free: 12 kB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001938/0.1316, allocations: 69.72 kB / 0.5885 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.1317, allocations: 4 kB / 0.5885 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.1317, allocations: 0 / 0.5885 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.848e-06/0.1317, allocations: 0 / 0.5885 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.414e-05/0.1318, allocations: 11.98 kB / 0.5886 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.279e-06/0.1318, allocations: 0 / 0.5886 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.365e-05/0.1318, allocations: 7.984 kB / 0.5886 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.1318, allocations: 0 / 0.5886 GB, free: 15.91 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 6.156e-05/0.1319, allocations: 121.8 kB / 0.5887 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.348e-05/0.1319, allocations: 3.906 kB / 0.5887 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002071/0.1321, allocations: 68.72 kB / 0.5888 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1322, allocations: 4 kB / 0.5888 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1322, allocations: 0 / 0.5888 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.1322, allocations: 192 / 0.5888 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.1323, allocations: 165.5 kB / 0.5889 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1323, allocations: 0 / 0.5889 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.353e-05/0.1324, allocations: 8.031 kB / 0.5889 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.1324, allocations: 7.984 kB / 0.5889 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.1324, allocations: 0 / 0.5889 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1324, allocations: 3.984 kB / 0.5889 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1324, allocations: 0 / 0.5889 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002084/0.1326, allocations: 167.4 kB / 0.5891 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.849e-05/0.1327, allocations: 81.14 kB / 0.5892 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.136e-05/0.1327, allocations: 3.938 kB / 0.5892 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.111e-05/0.1327, allocations: 4 kB / 0.5892 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.988e-05/0.1328, allocations: 3.984 kB / 0.5892 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.1328, allocations: 4 kB / 0.5892 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.95e-05/0.1328, allocations: 83.28 kB / 0.5893 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1328, allocations: 0 / 0.5893 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000226/0.1331, allocations: 12 kB / 0.5893 GB, free: 15.09 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.0004991/0.1336, allocations: 0.7163 MB / 0.59 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000193/0.1338, allocations: 43.92 kB / 0.59 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1338, allocations: 3.938 kB / 0.59 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.933e-05/0.1339, allocations: 19.98 kB / 0.59 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.0002083/0.1341, allocations: 4 kB / 0.59 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003658/0.1344, allocations: 147.2 kB / 0.5902 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001838/0.1346, allocations: 0.6768 MB / 0.5908 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.244e-05/0.1347, allocations: 4 kB / 0.5908 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.43e-05/0.1347, allocations: 15.44 kB / 0.5909 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.1347, allocations: 0 / 0.5909 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.544/0.6787, allocations: 1.465 MB / 0.5923 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.84, allocations: 24.91 kB / 0.5923 GB, free: 11.94 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ0.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe 2>&1)