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.0009059/0.000906, allocations: 172.5 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9367/0.9367, allocations: 133.6 MB / 141.6 MB, free: 2.883 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.0009089/0.0009085, allocations: 103.3 kB / 478.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.487e-05/2.491e-05, allocations: 8 kB / 0.5535 GB, free: 8.984 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4251/0.4252, allocations: 82.3 MB / 0.6339 GB, free: 40.81 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1488/0.574, allocations: 110.8 MB / 0.7421 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/0.5744, allocations: 75.95 kB / 0.7422 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004906/0.5793, allocations: 1.567 MB / 0.7437 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.502e-06/0.5793, allocations: 0 / 0.7437 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.5794, allocations: 0 / 0.7437 GB, free: 10.27 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.0004104/0.5798, allocations: 358.4 kB / 0.744 GB, free: 9.875 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.5798, allocations: 8.031 kB / 0.7441 GB, free: 9.867 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.182e-05/0.5799, allocations: 7.906 kB / 0.7441 GB, free: 9.859 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.58, allocations: 171 kB / 0.7442 GB, free: 9.652 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.58, allocations: 0 / 0.7442 GB, free: 9.652 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.895e-06/0.58, allocations: 0 / 0.7442 GB, free: 9.652 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.824e-05/0.5801, allocations: 12 kB / 0.7442 GB, free: 9.641 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.12e-05/0.5802, allocations: 29.7 kB / 0.7443 GB, free: 9.605 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.5802, allocations: 7.984 kB / 0.7443 GB, free: 9.598 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.5802, allocations: 0 / 0.7443 GB, free: 9.598 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.5802, allocations: 0 / 0.7443 GB, free: 9.598 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003864/0.5806, allocations: 245.4 kB / 0.7445 GB, free: 9.32 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.068e-05/0.5807, allocations: 26.58 kB / 0.7445 GB, free: 9.285 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.447e-05/0.5807, allocations: 12.86 kB / 0.7445 GB, free: 9.27 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006096/0.5813, allocations: 445.5 kB / 0.745 GB, free: 8.742 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.5814, allocations: 34.56 kB / 0.745 GB, free: 8.699 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.5814, allocations: 7.938 kB / 0.745 GB, free: 8.691 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001826/0.5816, allocations: 41.69 kB / 0.745 GB, free: 8.645 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.5816, allocations: 55.34 kB / 0.7451 GB, free: 8.578 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.334e-05/0.5817, allocations: 93 kB / 0.7452 GB, free: 8.48 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.5817, allocations: 25.7 kB / 0.7452 GB, free: 8.449 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.454e-05/0.5818, allocations: 84.12 kB / 0.7453 GB, free: 8.363 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.84e-05/0.5818, allocations: 7.906 kB / 0.7453 GB, free: 8.355 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-06/0.5818, allocations: 0 / 0.7453 GB, free: 8.355 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.5819, allocations: 318.8 kB / 0.7456 GB, free: 8.035 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.267e-05/0.582, allocations: 4.031 kB / 0.7456 GB, free: 8.031 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.337e-05/0.582, allocations: 8 kB / 0.7456 GB, free: 8.023 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.57e-05/0.582, allocations: 4 kB / 0.7456 GB, free: 8.02 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.5821, allocations: 0 / 0.7456 GB, free: 8.02 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.9e-05/0.5821, allocations: 45.59 kB / 0.7457 GB, free: 7.969 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.5822, allocations: 8 kB / 0.7457 GB, free: 7.961 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.5822, allocations: 0 / 0.7457 GB, free: 7.961 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.5822, allocations: 0 / 0.7457 GB, free: 7.961 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.77e-05/0.5823, allocations: 16.08 kB / 0.7457 GB, free: 7.945 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.5823, allocations: 0 / 0.7457 GB, free: 7.945 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.298e-05/0.5824, allocations: 12 kB / 0.7457 GB, free: 7.934 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.5824, allocations: 0 / 0.7457 GB, free: 7.934 MB / 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 () * 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.723e-05/0.5824, allocations: 112.8 kB / 0.7458 GB, free: 7.816 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.217e-05/0.5825, allocations: 41.69 kB / 0.7458 GB, free: 7.77 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.054e-05/0.5826, allocations: 4 kB / 0.7458 GB, free: 7.766 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.823e-05/0.5827, allocations: 49.47 kB / 0.7459 GB, free: 7.715 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.5827, allocations: 0 / 0.7459 GB, free: 7.715 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.5827, allocations: 0 / 0.7459 GB, free: 7.715 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.5827, allocations: 0 / 0.7459 GB, free: 7.715 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.5829, allocations: 142.2 kB / 0.746 GB, free: 7.539 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.5829, allocations: 0 / 0.746 GB, free: 7.539 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.151e-05/0.5829, allocations: 15.92 kB / 0.746 GB, free: 7.523 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.5829, allocations: 4 kB / 0.7461 GB, free: 7.52 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.583, allocations: 0 / 0.7461 GB, free: 7.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.583, allocations: 8.016 kB / 0.7461 GB, free: 7.512 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.583, allocations: 0 / 0.7461 GB, free: 7.512 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001193/0.5831, allocations: 143.4 kB / 0.7462 GB, free: 7.355 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.292e-05/0.5832, allocations: 81.05 kB / 0.7463 GB, free: 7.258 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.5832, allocations: 0 / 0.7463 GB, free: 7.258 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.054e-05/0.5833, allocations: 7.984 kB / 0.7463 GB, free: 7.25 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.852e-05/0.5833, allocations: 12.03 kB / 0.7463 GB, free: 7.238 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.5833, allocations: 0 / 0.7463 GB, free: 7.238 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.461e-05/0.5833, allocations: 79.28 kB / 0.7464 GB, free: 7.16 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5834, allocations: 0 / 0.7464 GB, free: 7.16 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002461/0.5836, allocations: 27.92 kB / 0.7464 GB, free: 7.133 MB / 0.5261 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.0005681/0.5842, allocations: 0.7046 MB / 0.7471 GB, free: 6.398 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.471e-05/0.5843, allocations: 15.98 kB / 0.7471 GB, free: 6.383 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.5843, allocations: 0 / 0.7471 GB, free: 6.383 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.968e-05/0.5843, allocations: 4 kB / 0.7471 GB, free: 6.379 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/0.5845, allocations: 8.125 kB / 0.7471 GB, free: 6.371 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003467/0.5848, allocations: 101.5 kB / 0.7472 GB, free: 6.234 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/0.5852, allocations: 0.6768 MB / 0.7479 GB, free: 5.531 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.649e-05/0.5852, allocations: 0 / 0.7479 GB, free: 5.531 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.978e-05/0.5853, allocations: 15.44 kB / 0.7479 GB, free: 5.516 MB / 0.5261 GB Notification: Performance of SimCode: time 2.4e-07/0.5853, allocations: 0 / 0.7479 GB, free: 5.516 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01933/0.6046, allocations: 0.9159 MB / 0.7488 GB, free: 4.609 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001993/0.6049, allocations: 125.5 kB / 0.7489 GB, free: 4.414 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.446/2.051, allocations: 3.984 kB / 0.7489 GB, free: 4.41 MB / 0.5261 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)