Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.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.Functions.Examples.BesselJ0,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ0",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.001339/0.001339, allocations: 180.9 kB / 7.65 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.7381/0.7381, allocations: 133.6 MB / 141.6 MB, free: 2.887 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.398/1.398, allocations: 221.5 MB / 395.4 MB, free: 10.78 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.000845/0.000845, allocations: 104.6 kB / 478.2 MB, free: 1.309 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.304e-05/2.297e-05, allocations: 8 kB / 0.5536 GB, free: 8.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4778/0.4778, allocations: 82.31 MB / 0.6339 GB, free: 40.72 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1407/0.6186, allocations: 110 MB / 0.7414 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001987/0.6188, allocations: 75.94 kB / 0.7414 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003188/0.622, allocations: 1.239 MB / 0.7426 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6221, allocations: 0 / 0.7426 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.6221, allocations: 0 / 0.7426 GB, free: 11.36 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002756/0.6224, allocations: 326.4 kB / 0.743 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.6224, allocations: 12.03 kB / 0.743 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.48e-05/0.6224, allocations: 0 / 0.743 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.6226, allocations: 167 kB / 0.7431 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.6226, allocations: 0 / 0.7431 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.908e-06/0.6226, allocations: 0 / 0.7431 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.732e-05/0.6226, allocations: 0 / 0.7431 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.299e-05/0.6227, allocations: 33.7 kB / 0.7432 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.6227, allocations: 0 / 0.7432 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.6227, allocations: 0 / 0.7432 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.6227, allocations: 0 / 0.7432 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001237/0.6229, allocations: 130.2 kB / 0.7433 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.833e-05/0.6229, allocations: 26.5 kB / 0.7433 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.499e-05/0.6229, allocations: 4.859 kB / 0.7433 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005777/0.6235, allocations: 445.5 kB / 0.7437 GB, free: 10 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.6236, allocations: 34.56 kB / 0.7438 GB, free: 9.961 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.6236, allocations: 0 / 0.7438 GB, free: 9.961 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001318/0.6237, allocations: 29.7 kB / 0.7438 GB, free: 9.926 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.6237, allocations: 55.44 kB / 0.7439 GB, free: 9.859 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.203e-05/0.6238, allocations: 85 kB / 0.7439 GB, free: 9.77 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.6238, allocations: 25.7 kB / 0.744 GB, free: 9.738 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.033e-05/0.6238, allocations: 80.14 kB / 0.744 GB, free: 9.656 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.6239, allocations: 11.84 kB / 0.744 GB, free: 9.645 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-06/0.6239, allocations: 0 / 0.744 GB, free: 9.645 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.624, allocations: 322.8 kB / 0.7444 GB, free: 9.32 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.294e-06/0.624, allocations: 3.938 kB / 0.7444 GB, free: 9.316 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.077e-06/0.624, allocations: 0 / 0.7444 GB, free: 9.316 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.771e-05/0.6241, allocations: 8.062 kB / 0.7444 GB, free: 9.309 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.6241, allocations: 0 / 0.7444 GB, free: 9.309 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.523e-05/0.6241, allocations: 29.7 kB / 0.7444 GB, free: 9.273 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.6242, allocations: 7.953 kB / 0.7444 GB, free: 9.266 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.778e-06/0.6242, allocations: 0 / 0.7444 GB, free: 9.266 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.6242, allocations: 0 / 0.7444 GB, free: 9.266 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.008e-05/0.6242, allocations: 4 kB / 0.7444 GB, free: 9.262 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.536e-06/0.6242, allocations: 0 / 0.7444 GB, free: 9.262 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.181e-05/0.6243, allocations: 3.984 kB / 0.7444 GB, free: 9.258 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.6243, allocations: 0 / 0.7444 GB, free: 9.258 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 (1): * Single equations (assignments): 1 * 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.648e-05/0.6243, allocations: 105 kB / 0.7445 GB, free: 9.148 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 4.924e-05/0.6244, allocations: 37.64 kB / 0.7445 GB, free: 9.105 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.871e-06/0.6244, allocations: 3.953 kB / 0.7446 GB, free: 9.102 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.702e-05/0.6245, allocations: 37.44 kB / 0.7446 GB, free: 9.062 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.6245, allocations: 0 / 0.7446 GB, free: 9.062 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.6245, allocations: 0 / 0.7446 GB, free: 9.062 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.6245, allocations: 0 / 0.7446 GB, free: 9.062 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.682e-05/0.6246, allocations: 126.2 kB / 0.7447 GB, free: 8.902 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.6246, allocations: 8.062 kB / 0.7447 GB, free: 8.895 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.042e-05/0.6246, allocations: 0 / 0.7447 GB, free: 8.895 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.6246, allocations: 3.953 kB / 0.7447 GB, free: 8.891 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.589e-06/0.6246, allocations: 0 / 0.7447 GB, free: 8.891 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.6247, allocations: 3.984 kB / 0.7447 GB, free: 8.887 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.6247, allocations: 0 / 0.7447 GB, free: 8.887 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.182e-05/0.6247, allocations: 57.08 kB / 0.7448 GB, free: 8.812 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.66e-05/0.6248, allocations: 77.11 kB / 0.7449 GB, free: 8.719 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.6248, allocations: 7.984 kB / 0.7449 GB, free: 8.711 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.873e-06/0.6248, allocations: 0 / 0.7449 GB, free: 8.711 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.531e-05/0.6249, allocations: 3.984 kB / 0.7449 GB, free: 8.707 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.6249, allocations: 4 kB / 0.7449 GB, free: 8.703 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.752e-05/0.6249, allocations: 75.28 kB / 0.7449 GB, free: 8.629 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6249, allocations: 3.938 kB / 0.7449 GB, free: 8.625 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002009/0.6251, allocations: 27.94 kB / 0.745 GB, free: 8.598 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 (1): * Single equations (assignments): 1 * 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.0005036/0.6256, allocations: 0.6241 MB / 0.7456 GB, free: 7.941 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 4.682e-05/0.6257, allocations: 0 / 0.7456 GB, free: 7.941 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.6257, allocations: 4.094 kB / 0.7456 GB, free: 7.938 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.12e-06/0.6257, allocations: 4 kB / 0.7456 GB, free: 7.934 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.149e-05/0.6258, allocations: 7.938 kB / 0.7456 GB, free: 7.926 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002402/0.6261, allocations: 85.59 kB / 0.7457 GB, free: 7.805 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/0.6263, allocations: 0.6768 MB / 0.7463 GB, free: 7.102 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.161e-05/0.6263, allocations: 4 kB / 0.7463 GB, free: 7.098 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.393e-05/0.6264, allocations: 7.438 kB / 0.7463 GB, free: 7.09 MB / 0.5261 GB Notification: Performance of SimCode: time 2.71e-07/0.6264, allocations: 0 / 0.7463 GB, free: 7.09 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02125/0.6476, allocations: 0.6347 MB / 0.747 GB, free: 6.461 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001929/0.6479, allocations: 136.1 kB / 0.7471 GB, free: 6.262 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.455/2.103, allocations: 0 / 0.7471 GB, free: 6.262 MB / 0.5261 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ0.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)