Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_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.0009683/0.0009684, allocations: 179 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4703/0.4703, allocations: 90.8 MB / 104.5 MB, free: 13.91 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 221.3 MB / 348.3 MB, free: 12.56 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008291/0.0008291, allocations: 91.95 kB / 421.1 MB, free: 5.734 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.124e-05/3.126e-05, allocations: 4 kB / 0.4897 GB, free: 46.52 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.123, allocations: 72.31 MB / 0.5603 GB, free: 6.316 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.438/0.561, allocations: 101.6 MB / 0.6596 GB, free: 5.891 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002084/0.5612, allocations: 71.52 kB / 0.6596 GB, free: 5.852 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004406/0.5657, allocations: 1.536 MB / 0.6611 GB, free: 4.512 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.5657, allocations: 0 / 0.6611 GB, free: 4.512 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.5657, allocations: 0 / 0.6611 GB, free: 4.512 MB / 458.7 MB 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.0003534/0.5661, allocations: 354.3 kB / 0.6615 GB, free: 4.125 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.5661, allocations: 15.98 kB / 0.6615 GB, free: 4.109 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.813e-05/0.5662, allocations: 31.06 kB / 0.6615 GB, free: 4.07 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.222e-05/0.5662, allocations: 3.953 kB / 0.6615 GB, free: 4.066 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.5663, allocations: 171 kB / 0.6617 GB, free: 3.859 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.5663, allocations: 0 / 0.6617 GB, free: 3.859 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.5664, allocations: 11.61 kB / 0.6617 GB, free: 3.852 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.791e-05/0.5665, allocations: 33.69 kB / 0.6617 GB, free: 3.812 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.5665, allocations: 0 / 0.6617 GB, free: 3.812 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.5665, allocations: 7.75 kB / 0.6617 GB, free: 3.809 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.5665, allocations: 0 / 0.6617 GB, free: 3.809 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.916e-05/0.5666, allocations: 7.953 kB / 0.6617 GB, free: 3.801 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003932/0.567, allocations: 271.1 kB / 0.662 GB, free: 3.496 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.945e-05/0.567, allocations: 25.95 kB / 0.662 GB, free: 3.465 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.465e-05/0.5671, allocations: 11.92 kB / 0.662 GB, free: 3.453 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005388/0.5676, allocations: 444.4 kB / 0.6625 GB, free: 2.93 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.5677, allocations: 30.56 kB / 0.6625 GB, free: 2.891 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.5677, allocations: 0 / 0.6625 GB, free: 2.891 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001411/0.5678, allocations: 49.31 kB / 0.6625 GB, free: 2.84 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.5678, allocations: 55.41 kB / 0.6626 GB, free: 2.773 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.727e-05/0.5679, allocations: 96.42 kB / 0.6627 GB, free: 2.676 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.5679, allocations: 33.67 kB / 0.6627 GB, free: 2.637 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.003e-05/0.568, allocations: 84.08 kB / 0.6628 GB, free: 2.551 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.353e-05/0.568, allocations: 6.906 kB / 0.6628 GB, free: 2.547 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/0.568, allocations: 0 / 0.6628 GB, free: 2.547 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.5681, allocations: 314.8 kB / 0.6631 GB, free: 2.23 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.469e-05/0.5682, allocations: 3.5 kB / 0.6631 GB, free: 2.23 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.117e-05/0.5682, allocations: 4 kB / 0.6631 GB, free: 2.227 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.895e-05/0.5682, allocations: 11.48 kB / 0.6631 GB, free: 2.219 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.5682, allocations: 4.062 kB / 0.6631 GB, free: 2.215 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.848e-05/0.5683, allocations: 41.08 kB / 0.6632 GB, free: 2.172 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.5683, allocations: 4 kB / 0.6632 GB, free: 2.168 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.5683, allocations: 0 / 0.6632 GB, free: 2.168 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-06/0.5683, allocations: 3.938 kB / 0.6632 GB, free: 2.164 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.951e-05/0.5684, allocations: 15.94 kB / 0.6632 GB, free: 2.148 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.5684, allocations: 0 / 0.6632 GB, free: 2.148 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.977e-05/0.5685, allocations: 15.92 kB / 0.6632 GB, free: 2.133 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-06/0.5685, allocations: 4.031 kB / 0.6632 GB, free: 2.129 MB / 458.7 MB 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 5.922e-05/0.5686, allocations: 101 kB / 0.6633 GB, free: 2.023 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.167e-05/0.5686, allocations: 4 kB / 0.6633 GB, free: 2.02 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.606e-05/0.5687, allocations: 47.75 kB / 0.6633 GB, free: 1.973 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.5687, allocations: 0 / 0.6633 GB, free: 1.973 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.5687, allocations: 3.953 kB / 0.6633 GB, free: 1.969 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.5687, allocations: 0 / 0.6633 GB, free: 1.969 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.5689, allocations: 157.3 kB / 0.6635 GB, free: 1.77 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.5689, allocations: 4.031 kB / 0.6635 GB, free: 1.766 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.508e-05/0.569, allocations: 15.92 kB / 0.6635 GB, free: 1.75 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.569, allocations: 0 / 0.6635 GB, free: 1.75 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.473e-06/0.569, allocations: 0 / 0.6635 GB, free: 1.75 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.569, allocations: 0 / 0.6635 GB, free: 1.75 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.569, allocations: 0 / 0.6635 GB, free: 1.75 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/0.5691, allocations: 145.7 kB / 0.6637 GB, free: 1.598 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.307e-05/0.5692, allocations: 81.14 kB / 0.6637 GB, free: 1.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.5692, allocations: 0 / 0.6637 GB, free: 1.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.92e-05/0.5693, allocations: 11.98 kB / 0.6637 GB, free: 1.488 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.986e-05/0.5693, allocations: 4.188 kB / 0.6637 GB, free: 1.484 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.5693, allocations: 4 kB / 0.6638 GB, free: 1.48 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.992e-05/0.5693, allocations: 82.33 kB / 0.6638 GB, free: 1.402 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5693, allocations: 0 / 0.6638 GB, free: 1.402 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002322/0.5696, allocations: 35.88 kB / 0.6639 GB, free: 1.367 MB / 458.7 MB 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.0004371/0.57, allocations: 0.6927 MB / 0.6645 GB, free: 0.6562 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 7.593e-05/0.5701, allocations: 18.83 kB / 0.6646 GB, free: 0.6406 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.5701, allocations: 3.25 kB / 0.6646 GB, free: 0.6406 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.247e-05/0.5702, allocations: 15.88 kB / 0.6646 GB, free: 0.625 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001506/0.5703, allocations: 0 / 0.6646 GB, free: 0.625 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003193/0.5706, allocations: 109.3 kB / 0.6647 GB, free: 500 kB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/0.5709, allocations: 0.677 MB / 0.6653 GB, free: 15.79 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 2.535e-05/0.5709, allocations: 4.125 kB / 0.6653 GB, free: 15.78 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.146e-05/0.5709, allocations: 11.44 kB / 0.6654 GB, free: 15.77 MB / 474.7 MB Notification: Performance of SimCode: time 3.51e-07/0.5709, allocations: 0 / 0.6654 GB, free: 15.77 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01132/0.5823, allocations: 1.205 MB / 0.6665 GB, free: 14.67 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002177/0.5825, allocations: 142.1 kB / 0.6667 GB, free: 14.44 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.374/1.956, allocations: 0 / 0.6667 GB, free: 14.44 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ0.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe 2>&1)