Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselJ0,fileNamePrefix="IDEAS_dev_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.001405/0.001405, allocations: 176.2 kB / 7.648 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.8772/0.8772, allocations: 133.6 MB / 141.6 MB, free: 2.938 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.556/1.556, allocations: 221.5 MB / 395.4 MB, free: 10.8 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.0008795/0.0008793, allocations: 102 kB / 478.2 MB, free: 1.312 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.18e-05/2.182e-05, allocations: 4 kB / 0.5536 GB, free: 8.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4526/0.4526, allocations: 82.3 MB / 0.6339 GB, free: 40.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1479/0.6005, allocations: 110.7 MB / 0.7421 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/0.6009, allocations: 75.95 kB / 0.7421 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004438/0.6053, allocations: 1.528 MB / 0.7436 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.903e-06/0.6053, allocations: 0 / 0.7436 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.6053, allocations: 4 kB / 0.7436 GB, free: 10.33 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.000356/0.6057, allocations: 354.5 kB / 0.744 GB, free: 9.941 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.6058, allocations: 8.031 kB / 0.744 GB, free: 9.934 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.19e-05/0.6058, allocations: 11.91 kB / 0.744 GB, free: 9.922 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.6059, allocations: 163 kB / 0.7441 GB, free: 9.723 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.6059, allocations: 0 / 0.7441 GB, free: 9.723 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.606, allocations: 3.938 kB / 0.7442 GB, free: 9.719 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.382e-05/0.606, allocations: 12 kB / 0.7442 GB, free: 9.707 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.64e-05/0.6061, allocations: 37.69 kB / 0.7442 GB, free: 9.664 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.6061, allocations: 0 / 0.7442 GB, free: 9.664 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.956e-06/0.6061, allocations: 0 / 0.7442 GB, free: 9.664 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.6062, allocations: 0 / 0.7442 GB, free: 9.664 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003744/0.6065, allocations: 249.4 kB / 0.7444 GB, free: 9.383 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.648e-05/0.6066, allocations: 22.58 kB / 0.7445 GB, free: 9.352 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.407e-05/0.6066, allocations: 12.84 kB / 0.7445 GB, free: 9.336 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005122/0.6071, allocations: 449.5 kB / 0.7449 GB, free: 8.805 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.6072, allocations: 34.55 kB / 0.7449 GB, free: 8.762 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.6072, allocations: 0 / 0.7449 GB, free: 8.762 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.000167/0.6074, allocations: 37.7 kB / 0.745 GB, free: 8.719 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/0.6074, allocations: 51.41 kB / 0.745 GB, free: 8.656 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.048e-05/0.6075, allocations: 89 kB / 0.7451 GB, free: 8.562 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.6075, allocations: 33.67 kB / 0.7451 GB, free: 8.523 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.991e-05/0.6075, allocations: 92.06 kB / 0.7452 GB, free: 8.43 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.549e-05/0.6076, allocations: 7.906 kB / 0.7452 GB, free: 8.422 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-06/0.6076, allocations: 0 / 0.7452 GB, free: 8.422 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.514e-05/0.6077, allocations: 314.8 kB / 0.7455 GB, free: 8.105 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.541e-05/0.6077, allocations: 8 kB / 0.7455 GB, free: 8.098 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.146e-05/0.6077, allocations: 0 / 0.7455 GB, free: 8.098 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.603e-05/0.6077, allocations: 7.938 kB / 0.7455 GB, free: 8.09 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.6077, allocations: 4.062 kB / 0.7456 GB, free: 8.086 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.542e-05/0.6078, allocations: 49.59 kB / 0.7456 GB, free: 8.031 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.6078, allocations: 4 kB / 0.7456 GB, free: 8.027 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.6079, allocations: 0 / 0.7456 GB, free: 8.027 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.6079, allocations: 0 / 0.7456 GB, free: 8.027 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.608, allocations: 11.98 kB / 0.7456 GB, free: 8.016 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.608, allocations: 0 / 0.7456 GB, free: 8.016 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.928e-05/0.608, allocations: 8 kB / 0.7456 GB, free: 8.008 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.6081, allocations: 4.031 kB / 0.7456 GB, free: 8.004 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.558e-05/0.6081, allocations: 108.9 kB / 0.7457 GB, free: 7.891 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.252e-05/0.6082, allocations: 49.62 kB / 0.7458 GB, free: 7.836 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.886e-05/0.6082, allocations: 0 / 0.7458 GB, free: 7.836 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.764e-05/0.6083, allocations: 45.44 kB / 0.7458 GB, free: 7.789 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.6084, allocations: 192 / 0.7458 GB, free: 7.789 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.6084, allocations: 0 / 0.7458 GB, free: 7.789 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.6084, allocations: 7.984 kB / 0.7458 GB, free: 7.781 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.6085, allocations: 142.2 kB / 0.746 GB, free: 7.605 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.6085, allocations: 0 / 0.746 GB, free: 7.605 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.622e-05/0.6086, allocations: 11.98 kB / 0.746 GB, free: 7.594 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.6086, allocations: 0 / 0.746 GB, free: 7.594 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.6086, allocations: 4 kB / 0.746 GB, free: 7.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.6086, allocations: 0 / 0.746 GB, free: 7.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.6086, allocations: 0 / 0.746 GB, free: 7.59 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001219/0.6088, allocations: 155.3 kB / 0.7461 GB, free: 7.422 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.999e-05/0.6088, allocations: 77.11 kB / 0.7462 GB, free: 7.328 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.6088, allocations: 0 / 0.7462 GB, free: 7.328 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.143e-05/0.6089, allocations: 11.98 kB / 0.7462 GB, free: 7.316 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.901e-05/0.6089, allocations: 0 / 0.7462 GB, free: 7.316 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.609, allocations: 3.938 kB / 0.7462 GB, free: 7.312 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.219e-05/0.609, allocations: 79.28 kB / 0.7463 GB, free: 7.234 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.71e-07/0.609, allocations: 0 / 0.7463 GB, free: 7.234 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002333/0.6092, allocations: 31.95 kB / 0.7463 GB, free: 7.203 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.0004739/0.6097, allocations: 0.6968 MB / 0.747 GB, free: 6.477 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.508e-05/0.6098, allocations: 12 kB / 0.747 GB, free: 6.465 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.6098, allocations: 0 / 0.747 GB, free: 6.465 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.088e-05/0.6098, allocations: 4 kB / 0.747 GB, free: 6.461 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001656/0.61, allocations: 7.984 kB / 0.747 GB, free: 6.453 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003234/0.6103, allocations: 101.6 kB / 0.7471 GB, free: 6.316 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.6106, allocations: 0.6768 MB / 0.7478 GB, free: 5.613 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.252e-05/0.6106, allocations: 4.125 kB / 0.7478 GB, free: 5.609 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.988e-05/0.6106, allocations: 15.44 kB / 0.7478 GB, free: 5.594 MB / 0.5261 GB Notification: Performance of SimCode: time 3.31e-07/0.6106, allocations: 0 / 0.7478 GB, free: 5.594 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01884/0.6295, allocations: 0.9165 MB / 0.7487 GB, free: 4.688 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001982/0.6297, allocations: 117.5 kB / 0.7488 GB, free: 4.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.413/2.043, allocations: 3.938 kB / 0.7488 GB, free: 4.496 MB / 0.5261 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ0.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe 2>&1)