Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselJ1,fileNamePrefix="IDEAS_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.006762/0.006762, allocations: 170.9 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7621/0.7621, allocations: 135.2 MB / 151 MB, free: 13.8 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.411/1.411, allocations: 223.2 MB / 406.8 MB, free: 3.16 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008574/0.0008573, allocations: 105.7 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003487/0.0003488, allocations: 12 kB / 0.5692 GB, free: 14.03 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4642/0.4646, allocations: 82.3 MB / 0.6495 GB, free: 36.1 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.145/0.6096, allocations: 111.5 MB / 0.7584 GB, free: 4.449 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/0.6099, allocations: 71.97 kB / 0.7585 GB, free: 4.379 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004643/0.6146, allocations: 1.598 MB / 0.76 GB, free: 2.781 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.624e-06/0.6146, allocations: 4 kB / 0.76 GB, free: 2.777 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.6146, allocations: 0 / 0.76 GB, free: 2.777 MB / 0.5261 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.0003973/0.615, allocations: 351.2 kB / 0.7604 GB, free: 2.387 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.6151, allocations: 12.03 kB / 0.7604 GB, free: 2.375 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.748e-05/0.6151, allocations: 34.56 kB / 0.7604 GB, free: 2.332 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.218e-05/0.6151, allocations: 0 / 0.7604 GB, free: 2.332 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.6153, allocations: 178.9 kB / 0.7606 GB, free: 2.117 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.6153, allocations: 4 kB / 0.7606 GB, free: 2.113 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.343e-06/0.6153, allocations: 0 / 0.7606 GB, free: 2.113 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.6155, allocations: 53.67 kB / 0.7606 GB, free: 2.055 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.6155, allocations: 0 / 0.7606 GB, free: 2.055 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.6155, allocations: 0 / 0.7606 GB, free: 2.055 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.6155, allocations: 0 / 0.7606 GB, free: 2.055 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001693/0.6157, allocations: 43.97 kB / 0.7607 GB, free: 2.012 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003853/0.6161, allocations: 272.8 kB / 0.761 GB, free: 1.695 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.6162, allocations: 46.56 kB / 0.761 GB, free: 1.641 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006386/0.6168, allocations: 453.5 kB / 0.7614 GB, free: 1.105 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.6169, allocations: 34.56 kB / 0.7615 GB, free: 1.062 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.6169, allocations: 0 / 0.7615 GB, free: 1.062 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0003582/0.6173, allocations: 105.6 kB / 0.7616 GB, free: 0.9531 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.6173, allocations: 51.41 kB / 0.7616 GB, free: 0.8906 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.797e-05/0.6174, allocations: 89 kB / 0.7617 GB, free: 0.7969 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.6174, allocations: 29.7 kB / 0.7617 GB, free: 0.7617 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.619e-05/0.6174, allocations: 88.12 kB / 0.7618 GB, free: 0.6719 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.425e-05/0.6175, allocations: 3.906 kB / 0.7618 GB, free: 0.668 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-06/0.6175, allocations: 0 / 0.7618 GB, free: 0.668 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.6176, allocations: 318.8 kB / 0.7621 GB, free: 356 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.4e-05/0.6177, allocations: 28.02 kB / 0.7621 GB, free: 328 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.767e-05/0.6177, allocations: 15.98 kB / 0.7622 GB, free: 312 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.701e-05/0.6178, allocations: 28.05 kB / 0.7622 GB, free: 284 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.6178, allocations: 0 / 0.7622 GB, free: 284 kB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001926/0.618, allocations: 73.66 kB / 0.7623 GB, free: 204 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.618, allocations: 4 kB / 0.7623 GB, free: 200 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.6181, allocations: 3.938 kB / 0.7623 GB, free: 196 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.6181, allocations: 8.031 kB / 0.7623 GB, free: 188 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.352e-05/0.6182, allocations: 11.98 kB / 0.7623 GB, free: 176 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.6182, allocations: 0 / 0.7623 GB, free: 176 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.025e-05/0.6182, allocations: 7.984 kB / 0.7623 GB, free: 168 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.6182, allocations: 4 kB / 0.7623 GB, free: 164 kB / 0.5261 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.329e-05/0.6183, allocations: 113.8 kB / 0.7624 GB, free: 40 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.153e-05/0.6183, allocations: 0 / 0.7624 GB, free: 40 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000238/0.6186, allocations: 84.72 kB / 0.7625 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.6186, allocations: 0 / 0.7625 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.6186, allocations: 0 / 0.7625 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.6186, allocations: 4 kB / 0.7625 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.6188, allocations: 161.6 kB / 0.7626 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.6188, allocations: 4.031 kB / 0.7626 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.578e-05/0.6188, allocations: 15.92 kB / 0.7627 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.6189, allocations: 0 / 0.7627 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.6189, allocations: 8 kB / 0.7627 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.6189, allocations: 3.938 kB / 0.7627 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.6189, allocations: 0 / 0.7627 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002384/0.6191, allocations: 179.4 kB / 0.7628 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.205e-05/0.6192, allocations: 77.11 kB / 0.7629 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/0.6192, allocations: 0 / 0.7629 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.869e-05/0.6193, allocations: 11.98 kB / 0.7629 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.041e-05/0.6193, allocations: 8.031 kB / 0.7629 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.6193, allocations: 0 / 0.7629 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.262e-05/0.6194, allocations: 79.28 kB / 0.763 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6194, allocations: 0 / 0.763 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002488/0.6196, allocations: 27.92 kB / 0.763 GB, free: 15.3 MB / 0.5417 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.0006161/0.6202, allocations: 0.7397 MB / 0.7638 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002007/0.6204, allocations: 47.97 kB / 0.7638 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.6205, allocations: 0 / 0.7638 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 8.749e-05/0.6206, allocations: 24.05 kB / 0.7638 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/0.6208, allocations: 12.62 kB / 0.7638 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003808/0.6211, allocations: 150.2 kB / 0.764 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002087/0.6214, allocations: 0.677 MB / 0.7646 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.425e-05/0.6214, allocations: 0 / 0.7646 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.27e-05/0.6214, allocations: 15.44 kB / 0.7647 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of SimCode: time 3.8e-07/0.6214, allocations: 4.062 kB / 0.7647 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01182/0.6333, allocations: 1.201 MB / 0.7658 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002065/0.6335, allocations: 156.1 kB / 0.766 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.484/2.118, allocations: 0 / 0.766 GB, free: 12.2 MB / 0.5417 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_BesselJ1.fmu > IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe 2>&1)