Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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.Examples.BesselJ0,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselJ0,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_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.007558/0.007558, allocations: 169.6 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7276/0.7276, allocations: 135.2 MB / 151 MB, free: 13.83 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.426/1.426, allocations: 223.2 MB / 406.8 MB, free: 3.227 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.001396/0.001396, allocations: 95.14 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003724/0.0003726, allocations: 12 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4419/0.4423, allocations: 82.3 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1508/0.5931, allocations: 111.5 MB / 0.7584 GB, free: 4.531 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/0.5934, allocations: 71.97 kB / 0.7585 GB, free: 4.461 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004622/0.598, allocations: 1.548 MB / 0.76 GB, free: 2.914 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.014e-06/0.598, allocations: 0 / 0.76 GB, free: 2.914 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.5981, allocations: 0 / 0.76 GB, free: 2.914 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.0004439/0.5985, allocations: 363.2 kB / 0.7603 GB, free: 2.512 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/0.5986, allocations: 12.03 kB / 0.7603 GB, free: 2.5 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.584e-05/0.5986, allocations: 30.56 kB / 0.7604 GB, free: 2.461 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.374e-05/0.5987, allocations: 4 kB / 0.7604 GB, free: 2.457 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.5988, allocations: 174.9 kB / 0.7605 GB, free: 2.246 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.5988, allocations: 4 kB / 0.7605 GB, free: 2.242 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.686e-06/0.5988, allocations: 0 / 0.7605 GB, free: 2.242 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.599, allocations: 53.67 kB / 0.7606 GB, free: 2.184 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.599, allocations: 0 / 0.7606 GB, free: 2.184 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.599, allocations: 0 / 0.7606 GB, free: 2.184 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.5991, allocations: 0 / 0.7606 GB, free: 2.184 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001652/0.5992, allocations: 43.97 kB / 0.7606 GB, free: 2.141 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000415/0.5996, allocations: 284.8 kB / 0.7609 GB, free: 1.812 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.5998, allocations: 42.56 kB / 0.7609 GB, free: 1.762 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005511/0.6003, allocations: 441.5 kB / 0.7614 GB, free: 1.238 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.6004, allocations: 34.56 kB / 0.7614 GB, free: 1.195 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.6004, allocations: 0 / 0.7614 GB, free: 1.195 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.000345/0.6007, allocations: 101.5 kB / 0.7615 GB, free: 1.09 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.6008, allocations: 51.41 kB / 0.7615 GB, free: 1.027 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.512e-05/0.6009, allocations: 104.9 kB / 0.7616 GB, free: 0.918 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.6009, allocations: 25.7 kB / 0.7617 GB, free: 0.8867 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.301e-05/0.6009, allocations: 80.14 kB / 0.7617 GB, free: 0.8047 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.699e-05/0.6009, allocations: 3.906 kB / 0.7617 GB, free: 0.8008 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-06/0.601, allocations: 4 kB / 0.7617 GB, free: 0.7969 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.6011, allocations: 322.9 kB / 0.762 GB, free: 484 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.051e-05/0.6012, allocations: 19.97 kB / 0.7621 GB, free: 464 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.961e-05/0.6013, allocations: 23.98 kB / 0.7621 GB, free: 440 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.44e-05/0.6013, allocations: 20.05 kB / 0.7621 GB, free: 420 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.6013, allocations: 0 / 0.7621 GB, free: 420 kB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001854/0.6015, allocations: 77.66 kB / 0.7622 GB, free: 336 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.6016, allocations: 12.03 kB / 0.7622 GB, free: 324 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.6016, allocations: 0 / 0.7622 GB, free: 324 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.6016, allocations: 3.938 kB / 0.7622 GB, free: 320 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.741e-05/0.6017, allocations: 12.17 kB / 0.7622 GB, free: 308 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.6017, allocations: 0 / 0.7622 GB, free: 308 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.893e-05/0.6018, allocations: 8 kB / 0.7622 GB, free: 300 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.6018, allocations: 3.984 kB / 0.7622 GB, free: 296 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 7.464e-05/0.6018, allocations: 117.8 kB / 0.7623 GB, free: 168 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.21e-05/0.6019, allocations: 3.984 kB / 0.7623 GB, free: 164 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002215/0.6021, allocations: 80.78 kB / 0.7624 GB, free: 76 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.6021, allocations: 0 / 0.7624 GB, free: 76 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.6021, allocations: 4 kB / 0.7624 GB, free: 72 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.6021, allocations: 4.031 kB / 0.7624 GB, free: 68 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.6023, allocations: 157.6 kB / 0.7626 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.6023, allocations: 3.984 kB / 0.7626 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-05/0.6024, allocations: 11.94 kB / 0.7626 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.6024, allocations: 3.938 kB / 0.7626 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.6024, allocations: 0 / 0.7626 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.6024, allocations: 0 / 0.7626 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.6024, allocations: 0 / 0.7626 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.6027, allocations: 183.4 kB / 0.7628 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.1e-05/0.6027, allocations: 81.09 kB / 0.7628 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.6027, allocations: 0 / 0.7628 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.9e-05/0.6028, allocations: 12.03 kB / 0.7629 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/0.6029, allocations: 3.984 kB / 0.7629 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-06/0.6029, allocations: 3.938 kB / 0.7629 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.466e-05/0.6029, allocations: 79.28 kB / 0.7629 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6029, allocations: 0 / 0.7629 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002393/0.6032, allocations: 27.94 kB / 0.763 GB, free: 15.43 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.0006481/0.6038, allocations: 0.7358 MB / 0.7637 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002063/0.6041, allocations: 47.95 kB / 0.7637 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.6041, allocations: 0 / 0.7637 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 8.818e-05/0.6042, allocations: 28.05 kB / 0.7638 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001909/0.6044, allocations: 0 / 0.7638 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004469/0.6048, allocations: 150.3 kB / 0.7639 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.6051, allocations: 0.6848 MB / 0.7646 GB, free: 13.69 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.023e-05/0.6051, allocations: 12.05 kB / 0.7646 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.316e-05/0.6052, allocations: 7.438 kB / 0.7646 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of SimCode: time 2.51e-07/0.6052, allocations: 0 / 0.7646 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01208/0.6173, allocations: 1.191 MB / 0.7658 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/0.6175, allocations: 158 kB / 0.7659 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.622/2.239, allocations: 0 / 0.7659 GB, free: 12.34 MB / 0.5417 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_BesselJ0.fmu > IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe 2>&1)