Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.BesselJ0,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselJ0,fileNamePrefix="IDEAS_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.0007981/0.0007981, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.004802/0.004802, allocations: 172.9 kB / 16.26 MB, free: 6.676 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.213/1.213, allocations: 223.2 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6765/0.6765, allocations: 132.3 MB / 423.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000359/0.0003589, allocations: 8 kB / 0.5041 GB, free: 3.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3506, allocations: 81.58 MB / 0.5837 GB, free: 3.867 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.001356/0.352, allocations: 1.155 MB / 0.5849 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004823/0.3525, allocations: 247.1 kB / 0.5851 GB, free: 2.859 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.999e-05/0.3525, allocations: 0.5938 kB / 0.5851 GB, free: 2.859 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.641e-05/0.3525, allocations: 4.594 kB / 0.5851 GB, free: 2.855 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.475e-05/0.3526, allocations: 2.156 kB / 0.5851 GB, free: 2.855 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003137/0.3529, allocations: 46.83 kB / 0.5852 GB, free: 2.836 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.116e-05/0.353, allocations: 23.16 kB / 0.5852 GB, free: 2.824 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.322e-05/0.353, allocations: 4.688 kB / 0.5852 GB, free: 2.824 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.952e-05/0.3531, allocations: 8.469 kB / 0.5852 GB, free: 2.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.736e-05/0.3531, allocations: 9.594 kB / 0.5852 GB, free: 2.816 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.077e-06/0.3532, allocations: 2.188 kB / 0.5852 GB, free: 2.816 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001745/0.3533, allocations: 68.16 kB / 0.5853 GB, free: 2.793 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.199e-05/0.3534, allocations: 1.828 kB / 0.5853 GB, free: 2.793 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.938e-05/0.3534, allocations: 41.17 kB / 0.5853 GB, free: 2.75 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.3535, allocations: 54.12 kB / 0.5854 GB, free: 2.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.3535, allocations: 3.938 kB / 0.5854 GB, free: 2.727 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3536, allocations: 0 / 0.5854 GB, free: 2.727 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.848e-06/0.3536, allocations: 1.062 kB / 0.5854 GB, free: 2.727 MB / 430.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.0003768/0.3539, allocations: 341 kB / 0.5857 GB, free: 2.371 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.354, allocations: 9.062 kB / 0.5857 GB, free: 2.371 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.564e-05/0.354, allocations: 36.72 kB / 0.5857 GB, free: 2.328 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.085e-05/0.354, allocations: 5.656 kB / 0.5857 GB, free: 2.324 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.455e-05/0.3541, allocations: 167.9 kB / 0.5859 GB, free: 2.125 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-06/0.3541, allocations: 0.8906 kB / 0.5859 GB, free: 2.125 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.3541, allocations: 1.875 kB / 0.5859 GB, free: 2.125 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.3543, allocations: 54.25 kB / 0.586 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.3543, allocations: 3.938 kB / 0.586 GB, free: 2.086 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.373e-06/0.3543, allocations: 0 / 0.586 GB, free: 2.086 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.3543, allocations: 5.703 kB / 0.586 GB, free: 2.082 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001677/0.3545, allocations: 41.81 kB / 0.586 GB, free: 2.078 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002307/0.3548, allocations: 254.8 kB / 0.5863 GB, free: 1.797 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.3549, allocations: 57.09 kB / 0.5863 GB, free: 1.754 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.682e-05/0.355, allocations: 29.72 kB / 0.5863 GB, free: 1.742 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005018/0.3555, allocations: 457.5 kB / 0.5868 GB, free: 1.266 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/0.3555, allocations: 32.67 kB / 0.5868 GB, free: 1.227 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.3555, allocations: 0 / 0.5868 GB, free: 1.227 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003408/0.3559, allocations: 102.1 kB / 0.5869 GB, free: 1.18 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.734e-05/0.3559, allocations: 56.91 kB / 0.587 GB, free: 1.113 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.8e-05/0.3559, allocations: 105 kB / 0.5871 GB, free: 1.008 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.482e-06/0.356, allocations: 26.52 kB / 0.5871 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.27e-05/0.356, allocations: 81.78 kB / 0.5872 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.538e-05/0.356, allocations: 9.641 kB / 0.5872 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.893e-05/0.356, allocations: 14.81 kB / 0.5872 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.574e-05/0.3561, allocations: 312.9 kB / 0.5875 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.497e-05/0.3562, allocations: 18.69 kB / 0.5875 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.592e-05/0.3562, allocations: 26.83 kB / 0.5875 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.3564, allocations: 48.11 kB / 0.5876 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.3564, allocations: 3.938 kB / 0.5876 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001907/0.3566, allocations: 80.48 kB / 0.5876 GB, free: 500 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.3566, allocations: 4.719 kB / 0.5877 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3566, allocations: 1.797 kB / 0.5877 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.3567, allocations: 0 / 0.5877 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.766e-05/0.3567, allocations: 11.28 kB / 0.5877 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.3567, allocations: 4.812 kB / 0.5877 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.746e-05/0.3568, allocations: 8.734 kB / 0.5877 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.3568, allocations: 0.5625 kB / 0.5877 GB, free: 496 kB / 430.1 MB 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 4.042e-05/0.3569, allocations: 118 kB / 0.5878 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.352e-05/0.3569, allocations: 5.531 kB / 0.5878 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002212/0.3571, allocations: 80.75 kB / 0.5879 GB, free: 324 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.3571, allocations: 5.75 kB / 0.5879 GB, free: 320 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3571, allocations: 0 / 0.5879 GB, free: 320 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3571, allocations: 0 / 0.5879 GB, free: 320 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.3573, allocations: 163.7 kB / 0.588 GB, free: 116 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3573, allocations: 0.9375 kB / 0.588 GB, free: 116 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.872e-05/0.3573, allocations: 15.09 kB / 0.5881 GB, free: 112 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.3573, allocations: 4.906 kB / 0.5881 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-06/0.3573, allocations: 1.125 kB / 0.5881 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3573, allocations: 0.75 kB / 0.5881 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3574, allocations: 0 / 0.5881 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.3576, allocations: 172.4 kB / 0.5882 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.252e-05/0.3577, allocations: 79.06 kB / 0.5883 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.3577, allocations: 1.344 kB / 0.5883 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.892e-05/0.3578, allocations: 12.58 kB / 0.5883 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.237e-05/0.3578, allocations: 5.688 kB / 0.5883 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.3578, allocations: 1.75 kB / 0.5883 GB, free: 15.86 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.546e-05/0.3578, allocations: 79.62 kB / 0.5884 GB, free: 15.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3578, allocations: 7.969 kB / 0.5884 GB, free: 15.78 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002353/0.3581, allocations: 14.3 kB / 0.5884 GB, free: 15.78 MB / 446.1 MB 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.0005508/0.3586, allocations: 0.72 MB / 0.5891 GB, free: 15.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002095/0.3589, allocations: 48.59 kB / 0.5892 GB, free: 15.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3589, allocations: 0 / 0.5892 GB, free: 15.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.423e-05/0.359, allocations: 30.19 kB / 0.5892 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.3592, allocations: 2.953 kB / 0.5892 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003717/0.3596, allocations: 149.1 kB / 0.5893 GB, free: 14.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001856/0.3598, allocations: 0.6762 MB / 0.59 GB, free: 14.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.159e-05/0.3598, allocations: 4.656 kB / 0.59 GB, free: 14.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.593e-05/0.3598, allocations: 13.19 kB / 0.59 GB, free: 14.22 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3598, allocations: 1.312 kB / 0.59 GB, free: 14.22 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2081/0.568, allocations: 1.228 MB / 0.5912 GB, free: 14.07 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002696/0.5683, allocations: 179.5 kB / 0.5914 GB, free: 13.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.623/2.191, allocations: 3.938 kB / 0.5914 GB, free: 13.81 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_BesselJ0.fmu > IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe 2>&1)