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.001708/0.001708, allocations: 174.6 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.9448/0.9448, 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.745/1.745, allocations: 221.3 MB / 400.4 MB, free: 5.805 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.0008992/0.0008991, allocations: 89.77 kB / 483.3 MB, free: 5.871 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.179e-05/4.181e-05, allocations: 4.156 kB / 0.5601 GB, free: 87.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.161, allocations: 82.32 MB / 0.6405 GB, free: 7.738 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.559/0.7201, allocations: 111.4 MB / 0.7493 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/0.7204, allocations: 74.02 kB / 0.7494 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.004704/0.7251, allocations: 1.572 MB / 0.7509 GB, free: 27.61 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7251, allocations: 0 / 0.7509 GB, free: 27.61 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.399e-05/0.7251, allocations: 7.438 kB / 0.7509 GB, free: 27.61 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.0003576/0.7255, allocations: 350.4 kB / 0.7513 GB, free: 27.25 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.7256, allocations: 14.03 kB / 0.7513 GB, free: 27.25 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.461e-05/0.7256, allocations: 33.75 kB / 0.7513 GB, free: 27.21 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.22e-05/0.7256, allocations: 3.906 kB / 0.7513 GB, free: 27.21 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.7258, allocations: 170.8 kB / 0.7515 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.265e-06/0.7258, allocations: 0 / 0.7515 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.7258, allocations: 0 / 0.7515 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.892e-05/0.7259, allocations: 35.08 kB / 0.7515 GB, free: 26.97 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.7259, allocations: 3.875 kB / 0.7515 GB, free: 26.97 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.7259, allocations: 0 / 0.7515 GB, free: 26.97 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.7259, allocations: 4 kB / 0.7515 GB, free: 26.97 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.339e-05/0.726, allocations: 15.92 kB / 0.7516 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000434/0.7264, allocations: 266.1 kB / 0.7518 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.428e-05/0.7265, allocations: 25.61 kB / 0.7518 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.434e-05/0.7265, allocations: 12.83 kB / 0.7518 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005803/0.7271, allocations: 445.9 kB / 0.7523 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.7271, allocations: 33.19 kB / 0.7523 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.7271, allocations: 7.875 kB / 0.7523 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001434/0.7273, allocations: 44.02 kB / 0.7523 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.7273, allocations: 55.25 kB / 0.7524 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.167e-05/0.7274, allocations: 95.69 kB / 0.7525 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.7274, allocations: 25.7 kB / 0.7525 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.122e-05/0.7275, allocations: 83.64 kB / 0.7526 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.358e-05/0.7275, allocations: 3.906 kB / 0.7526 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-06/0.7275, allocations: 3.812 kB / 0.7526 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.7276, allocations: 317.8 kB / 0.7529 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.649e-05/0.7276, allocations: 11.03 kB / 0.7529 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.104e-05/0.7277, allocations: 0 / 0.7529 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.686e-05/0.7277, allocations: 6.531 kB / 0.7529 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.7277, allocations: 0 / 0.7529 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.99e-05/0.7278, allocations: 50.5 kB / 0.753 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.7278, allocations: 4.969 kB / 0.753 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.7278, allocations: 0 / 0.753 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.7278, allocations: 3.594 kB / 0.753 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.932e-05/0.7279, allocations: 17.5 kB / 0.753 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.7279, allocations: 3.938 kB / 0.753 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.821e-05/0.728, allocations: 10.58 kB / 0.753 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.728, allocations: 0 / 0.753 GB, free: 25.47 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 0.0001284/0.7281, allocations: 104.9 kB / 0.7531 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.7282, allocations: 0 / 0.7531 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001057/0.7283, allocations: 53.47 kB / 0.7532 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.7283, allocations: 4.031 kB / 0.7532 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.7283, allocations: 2.906 kB / 0.7532 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.7283, allocations: 0 / 0.7532 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.7284, allocations: 157.8 kB / 0.7533 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.7284, allocations: 0 / 0.7533 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.001e-05/0.7285, allocations: 16.91 kB / 0.7533 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.7285, allocations: 0 / 0.7533 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.7285, allocations: 0 / 0.7533 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.7285, allocations: 0 / 0.7533 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.7285, allocations: 5.375 kB / 0.7533 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.7287, allocations: 140 kB / 0.7535 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.627e-05/0.7287, allocations: 81.02 kB / 0.7535 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.7287, allocations: 7.781 kB / 0.7536 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.839e-05/0.7288, allocations: 6.469 kB / 0.7536 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.678e-05/0.7288, allocations: 6.328 kB / 0.7536 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.7289, allocations: 7.781 kB / 0.7536 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.998e-05/0.7289, allocations: 82.03 kB / 0.7537 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7289, allocations: 0 / 0.7537 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002243/0.7291, allocations: 25.62 kB / 0.7537 GB, free: 24.8 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.0004877/0.7296, allocations: 0.7047 MB / 0.7544 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.792e-05/0.7297, allocations: 22.03 kB / 0.7544 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.7297, allocations: 0 / 0.7544 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.826e-05/0.7297, allocations: 3.844 kB / 0.7544 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001508/0.7299, allocations: 1.266 kB / 0.7544 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002935/0.7302, allocations: 105.5 kB / 0.7545 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.7305, allocations: 0.6813 MB / 0.7552 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.284e-05/0.7305, allocations: 0.875 kB / 0.7552 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.601e-05/0.7305, allocations: 9.734 kB / 0.7552 GB, free: 23.31 MB / 0.5105 GB Notification: Performance of SimCode: time 2.41e-07/0.7306, allocations: 0 / 0.7552 GB, free: 23.31 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01209/0.7426, allocations: 1.214 MB / 0.7564 GB, free: 23.15 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001285/0.7428, allocations: 129.3 kB / 0.7565 GB, free: 22.93 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.459/2.202, allocations: 11.88 kB / 0.7565 GB, free: 22.92 MB / 0.5105 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)