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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7285/0.7285, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.589/1.589, allocations: 221.3 MB / 400.4 MB, free: 5.848 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008796/0.0008798, allocations: 85.81 kB / 483.3 MB, free: 5.875 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.663e-05/4.681e-05, allocations: 4.406 kB / 0.5601 GB, free: 87.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1692, allocations: 82.31 MB / 0.6405 GB, free: 7.723 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7543/0.9236, allocations: 111.4 MB / 0.7493 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/0.9238, allocations: 74.83 kB / 0.7494 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.004604/0.9284, allocations: 1.574 MB / 0.7509 GB, free: 27.49 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.365e-06/0.9285, allocations: 0 / 0.7509 GB, free: 27.49 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.9285, allocations: 3.938 kB / 0.7509 GB, free: 27.49 MB / 0.5105 GB 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.00033/0.9288, allocations: 357.9 kB / 0.7513 GB, free: 27.13 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.9289, allocations: 7.719 kB / 0.7513 GB, free: 27.13 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.467e-05/0.9289, allocations: 33.38 kB / 0.7513 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.204e-05/0.9289, allocations: 7.719 kB / 0.7513 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.034e-05/0.929, allocations: 167 kB / 0.7515 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.878e-06/0.9291, allocations: 0 / 0.7515 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.9291, allocations: 7.25 kB / 0.7515 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.371e-05/0.9292, allocations: 36.09 kB / 0.7515 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.353e-06/0.9292, allocations: 4 kB / 0.7515 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-06/0.9292, allocations: 2.562 kB / 0.7515 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.9292, allocations: 0 / 0.7515 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.376e-05/0.9293, allocations: 14.84 kB / 0.7516 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000351/0.9296, allocations: 261.6 kB / 0.7518 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.46e-05/0.9297, allocations: 29.48 kB / 0.7518 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.153e-05/0.9297, allocations: 12.23 kB / 0.7518 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005151/0.9302, allocations: 445.2 kB / 0.7523 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.9303, allocations: 42.44 kB / 0.7523 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.804e-06/0.9303, allocations: 3.984 kB / 0.7523 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001401/0.9304, allocations: 42.92 kB / 0.7524 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.9304, allocations: 51.41 kB / 0.7524 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.56e-05/0.9305, allocations: 92.16 kB / 0.7525 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.9305, allocations: 28.52 kB / 0.7525 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.63e-05/0.9306, allocations: 87.11 kB / 0.7526 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.384e-05/0.9306, allocations: 3.906 kB / 0.7526 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.9306, allocations: 0 / 0.7526 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.332e-05/0.9307, allocations: 318.8 kB / 0.7529 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.632e-05/0.9307, allocations: 6.969 kB / 0.7529 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.169e-05/0.9307, allocations: 3.844 kB / 0.7529 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.826e-05/0.9308, allocations: 10.75 kB / 0.7529 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.9308, allocations: 0 / 0.7529 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.285e-05/0.9308, allocations: 44.83 kB / 0.753 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.9309, allocations: 7.688 kB / 0.753 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.9309, allocations: 0 / 0.753 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.9309, allocations: 4.094 kB / 0.753 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.85e-05/0.931, allocations: 17.22 kB / 0.753 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.931, allocations: 0 / 0.753 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.704e-05/0.931, allocations: 7.656 kB / 0.753 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.9311, allocations: 2.906 kB / 0.753 GB, free: 25.36 MB / 0.5105 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 () * 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 5.583e-05/0.9311, allocations: 104.9 kB / 0.7531 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.167e-05/0.9311, allocations: 3.875 kB / 0.7531 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.556e-05/0.9312, allocations: 55.2 kB / 0.7532 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.9313, allocations: 0 / 0.7532 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.9313, allocations: 0 / 0.7532 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.9313, allocations: 0 / 0.7532 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001168/0.9314, allocations: 158.9 kB / 0.7533 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.9314, allocations: 3.844 kB / 0.7533 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.051e-05/0.9315, allocations: 11.56 kB / 0.7533 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.9315, allocations: 0 / 0.7533 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.9315, allocations: 32 / 0.7533 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.9315, allocations: 4 kB / 0.7533 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.9315, allocations: 2.766 kB / 0.7533 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.402e-05/0.9316, allocations: 138 kB / 0.7535 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.848e-05/0.9316, allocations: 87.91 kB / 0.7536 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.9317, allocations: 11.78 kB / 0.7536 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.599e-05/0.9317, allocations: 7.109 kB / 0.7536 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.409e-05/0.9318, allocations: 7.719 kB / 0.7536 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.9318, allocations: 0 / 0.7536 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.189e-05/0.9318, allocations: 82.19 kB / 0.7537 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9318, allocations: 0 / 0.7537 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002313/0.9321, allocations: 26.39 kB / 0.7537 GB, free: 24.68 MB / 0.5105 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 () * 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.0004496/0.9325, allocations: 0.7027 MB / 0.7544 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.023e-05/0.9326, allocations: 21.3 kB / 0.7544 GB, free: 24 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.9326, allocations: 0 / 0.7544 GB, free: 24 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.883e-05/0.9326, allocations: 3.938 kB / 0.7544 GB, free: 24 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000163/0.9328, allocations: 11.28 kB / 0.7544 GB, free: 24 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003035/0.9331, allocations: 95.89 kB / 0.7545 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002029/0.9333, allocations: 0.6792 MB / 0.7552 GB, free: 23.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.21e-05/0.9334, allocations: 0 / 0.7552 GB, free: 23.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.684e-05/0.9334, allocations: 7.438 kB / 0.7552 GB, free: 23.19 MB / 0.5105 GB Notification: Performance of SimCode: time 2.51e-07/0.9334, allocations: 0 / 0.7552 GB, free: 23.19 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01104/0.9444, allocations: 1.223 MB / 0.7564 GB, free: 23.02 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001482/0.9446, allocations: 143.4 kB / 0.7565 GB, free: 22.79 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.486/2.43, allocations: 0 / 0.7565 GB, free: 22.79 MB / 0.5105 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)