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.006865/0.006864, allocations: 172 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.8045/0.8045, 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.386/1.386, allocations: 223.2 MB / 406.8 MB, free: 3.223 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.0009831/0.0009832, allocations: 94.48 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000329/0.0003291, allocations: 8 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4321/0.4324, allocations: 82.31 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1551/0.5876, allocations: 111.5 MB / 0.7584 GB, free: 4.461 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/0.5879, allocations: 71.97 kB / 0.7585 GB, free: 4.391 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004738/0.5927, allocations: 1.587 MB / 0.76 GB, free: 2.805 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5927, allocations: 0 / 0.76 GB, free: 2.805 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.5927, allocations: 0 / 0.76 GB, free: 2.805 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.0004196/0.5931, allocations: 363.2 kB / 0.7604 GB, free: 2.402 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.5932, allocations: 8.031 kB / 0.7604 GB, free: 2.395 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.457e-05/0.5932, allocations: 30.56 kB / 0.7604 GB, free: 2.355 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.009e-05/0.5933, allocations: 8 kB / 0.7604 GB, free: 2.348 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.5934, allocations: 175 kB / 0.7606 GB, free: 2.137 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.5934, allocations: 0 / 0.7606 GB, free: 2.137 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.5934, allocations: 4 kB / 0.7606 GB, free: 2.133 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.5936, allocations: 53.67 kB / 0.7607 GB, free: 2.074 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.5937, allocations: 0 / 0.7607 GB, free: 2.074 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.5937, allocations: 0 / 0.7607 GB, free: 2.074 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.5937, allocations: 0 / 0.7607 GB, free: 2.074 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001754/0.5939, allocations: 43.97 kB / 0.7607 GB, free: 2.031 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004119/0.5943, allocations: 272.8 kB / 0.761 GB, free: 1.715 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.5944, allocations: 42.56 kB / 0.761 GB, free: 1.664 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006183/0.595, allocations: 449.5 kB / 0.7614 GB, free: 1.133 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.5951, allocations: 34.55 kB / 0.7615 GB, free: 1.09 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.5951, allocations: 0 / 0.7615 GB, free: 1.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0003685/0.5955, allocations: 105.6 kB / 0.7616 GB, free: 0.9805 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.5955, allocations: 55.39 kB / 0.7616 GB, free: 0.9141 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.379e-05/0.5956, allocations: 89 kB / 0.7617 GB, free: 0.8203 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.5956, allocations: 25.7 kB / 0.7617 GB, free: 0.7891 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.588e-05/0.5956, allocations: 84.14 kB / 0.7618 GB, free: 0.7031 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.5957, allocations: 7.906 kB / 0.7618 GB, free: 0.6953 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-06/0.5957, allocations: 0 / 0.7618 GB, free: 0.6953 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.5958, allocations: 322.8 kB / 0.7621 GB, free: 380 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.096e-05/0.5959, allocations: 19.98 kB / 0.7621 GB, free: 360 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.094e-05/0.596, allocations: 23.92 kB / 0.7622 GB, free: 336 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.963e-05/0.5961, allocations: 24.05 kB / 0.7622 GB, free: 312 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.5961, allocations: 0 / 0.7622 GB, free: 312 kB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001966/0.5963, allocations: 81.59 kB / 0.7623 GB, free: 224 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.5963, allocations: 4 kB / 0.7623 GB, free: 220 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.5963, allocations: 32 / 0.7623 GB, free: 220 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.5963, allocations: 4 kB / 0.7623 GB, free: 216 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.075e-05/0.5964, allocations: 11.98 kB / 0.7623 GB, free: 204 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.5964, allocations: 0 / 0.7623 GB, free: 204 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.312e-05/0.5965, allocations: 11.98 kB / 0.7623 GB, free: 192 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/0.5965, allocations: 0 / 0.7623 GB, free: 192 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 8.502e-05/0.5966, allocations: 113.8 kB / 0.7624 GB, free: 68 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.206e-05/0.5966, allocations: 8 kB / 0.7624 GB, free: 60 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002678/0.5969, allocations: 76.78 kB / 0.7625 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.5969, allocations: 4.125 kB / 0.7625 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.5969, allocations: 0 / 0.7625 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.597, allocations: 3.984 kB / 0.7625 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001658/0.5971, allocations: 169.6 kB / 0.7627 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.5971, allocations: 0 / 0.7627 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.247e-05/0.5972, allocations: 8 kB / 0.7627 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.5972, allocations: 0 / 0.7627 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.5972, allocations: 4 kB / 0.7627 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.5972, allocations: 11.91 kB / 0.7627 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.5972, allocations: 0 / 0.7627 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.5975, allocations: 175.4 kB / 0.7628 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.497e-05/0.5975, allocations: 81.09 kB / 0.7629 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.5975, allocations: 4 kB / 0.7629 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.477e-05/0.5976, allocations: 4 kB / 0.7629 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.623e-05/0.5977, allocations: 8.016 kB / 0.7629 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.5977, allocations: 4 kB / 0.7629 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.794e-05/0.5977, allocations: 79.28 kB / 0.763 GB, free: 15.35 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5977, allocations: 3.938 kB / 0.763 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002433/0.598, allocations: 23.94 kB / 0.763 GB, free: 15.32 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.0007132/0.5987, allocations: 0.7436 MB / 0.7638 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002063/0.5989, allocations: 43.97 kB / 0.7638 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5989, allocations: 0 / 0.7638 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.195e-05/0.599, allocations: 31.98 kB / 0.7638 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001938/0.5992, allocations: 0 / 0.7638 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00042/0.5997, allocations: 162.1 kB / 0.764 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.5999, allocations: 0.6809 MB / 0.7647 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.254e-05/0.6, allocations: 0 / 0.7647 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.119e-05/0.6, allocations: 15.5 kB / 0.7647 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of SimCode: time 2.31e-07/0.6, allocations: 0 / 0.7647 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01269/0.6127, allocations: 1.202 MB / 0.7658 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003056/0.6131, allocations: 165.4 kB / 0.766 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.561/2.174, allocations: 0 / 0.766 GB, free: 12.21 MB / 0.5417 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)