Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.Functions.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_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.002066/0.002067, allocations: 182.2 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5326/0.5326, allocations: 91.98 MB / 108.5 MB, free: 13.05 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.64/1.64, allocations: 223.2 MB / 354.3 MB, free: 12.19 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.0009844/0.0009844, allocations: 104.1 kB / 427.3 MB, free: 3.895 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.0003619, allocations: 19.98 kB / 0.4983 GB, free: 42.19 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1629, allocations: 72.31 MB / 0.5689 GB, free: 1.824 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5304/0.6934, allocations: 100.9 MB / 0.6675 GB, free: 3.473 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/0.6937, allocations: 79.94 kB / 0.6676 GB, free: 3.395 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003402/0.6971, allocations: 1.25 MB / 0.6688 GB, free: 2.156 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.6972, allocations: 0 / 0.6688 GB, free: 2.156 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.022e-06/0.6972, allocations: 0 / 0.6688 GB, free: 2.156 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003068/0.6975, allocations: 335.3 kB / 0.6691 GB, free: 1.781 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.6975, allocations: 8.031 kB / 0.6691 GB, free: 1.773 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.731e-05/0.6976, allocations: 38.5 kB / 0.6692 GB, free: 1.727 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.411e-05/0.6976, allocations: 4.578 kB / 0.6692 GB, free: 1.723 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.6977, allocations: 163.1 kB / 0.6693 GB, free: 1.523 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.6977, allocations: 0 / 0.6693 GB, free: 1.523 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.945e-06/0.6978, allocations: 6.375 kB / 0.6693 GB, free: 1.52 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.919e-05/0.6979, allocations: 25.7 kB / 0.6694 GB, free: 1.488 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.6979, allocations: 0 / 0.6694 GB, free: 1.488 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.522e-06/0.6979, allocations: 0 / 0.6694 GB, free: 1.488 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.6979, allocations: 0 / 0.6694 GB, free: 1.488 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.308e-05/0.6979, allocations: 11.95 kB / 0.6694 GB, free: 1.477 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001512/0.6981, allocations: 149.7 kB / 0.6695 GB, free: 1.281 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.739e-05/0.6981, allocations: 18.52 kB / 0.6695 GB, free: 1.254 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000622/0.6988, allocations: 441.6 kB / 0.67 GB, free: 0.7305 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.6988, allocations: 38.56 kB / 0.67 GB, free: 0.6836 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.6988, allocations: 0 / 0.67 GB, free: 0.6836 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001302/0.6989, allocations: 29.7 kB / 0.67 GB, free: 0.6484 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.699, allocations: 59.34 kB / 0.6701 GB, free: 0.5781 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.758e-05/0.699, allocations: 88.98 kB / 0.6702 GB, free: 496 kB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.6991, allocations: 25.7 kB / 0.6702 GB, free: 464 kB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.735e-05/0.6991, allocations: 80.14 kB / 0.6703 GB, free: 380 kB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.6991, allocations: 7.906 kB / 0.6703 GB, free: 372 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-06/0.6991, allocations: 128 / 0.6703 GB, free: 372 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.6993, allocations: 318.8 kB / 0.6706 GB, free: 44 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.565e-06/0.6993, allocations: 0 / 0.6706 GB, free: 44 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.248e-06/0.6993, allocations: 0 / 0.6706 GB, free: 44 kB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.968e-05/0.6993, allocations: 4 kB / 0.6706 GB, free: 40 kB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.6993, allocations: 0 / 0.6706 GB, free: 40 kB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.782e-05/0.6994, allocations: 29.7 kB / 0.6706 GB, free: 4 kB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.578e-05/0.6994, allocations: 10.17 kB / 0.6706 GB, free: 15.99 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.6994, allocations: 3.938 kB / 0.6706 GB, free: 15.99 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.6994, allocations: 4.094 kB / 0.6706 GB, free: 15.99 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.483e-05/0.6995, allocations: 8 kB / 0.6706 GB, free: 15.98 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.6995, allocations: 3.938 kB / 0.6706 GB, free: 15.98 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.077e-05/0.6995, allocations: 0 / 0.6706 GB, free: 15.98 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-06/0.6995, allocations: 3.938 kB / 0.6706 GB, free: 15.97 MB / 474.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 () * Number of clocked 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 7.977e-05/0.6996, allocations: 113.8 kB / 0.6708 GB, free: 15.85 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.16e-06/0.6996, allocations: 0 / 0.6708 GB, free: 15.85 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.288e-05/0.6997, allocations: 36.81 kB / 0.6708 GB, free: 15.81 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.6997, allocations: 4.031 kB / 0.6708 GB, free: 15.81 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.6997, allocations: 0 / 0.6708 GB, free: 15.81 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.6997, allocations: 0 / 0.6708 GB, free: 15.81 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/0.6999, allocations: 157.6 kB / 0.6709 GB, free: 15.61 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.6999, allocations: 0 / 0.6709 GB, free: 15.61 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.249e-05/0.6999, allocations: 4 kB / 0.6709 GB, free: 15.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.6999, allocations: 0 / 0.6709 GB, free: 15.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.6999, allocations: 0 / 0.6709 GB, free: 15.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.6999, allocations: 3.984 kB / 0.671 GB, free: 15.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.6999, allocations: 0 / 0.671 GB, free: 15.6 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.599e-05/0.7, allocations: 65.03 kB / 0.671 GB, free: 15.52 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.72e-05/0.7, allocations: 77.11 kB / 0.6711 GB, free: 15.42 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.7001, allocations: 4 kB / 0.6711 GB, free: 15.42 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.612e-06/0.7001, allocations: 0 / 0.6711 GB, free: 15.42 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.726e-05/0.7001, allocations: 3.984 kB / 0.6711 GB, free: 15.41 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.7001, allocations: 4 kB / 0.6711 GB, free: 15.41 MB / 474.7 MB Notification: Performance of sorting global known variables: time 2.8e-05/0.7001, allocations: 75.28 kB / 0.6712 GB, free: 15.34 MB / 474.7 MB Notification: Performance of sort global known variables: time 1e-07/0.7001, allocations: 0 / 0.6712 GB, free: 15.34 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002161/0.7004, allocations: 23.97 kB / 0.6712 GB, free: 15.31 MB / 474.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 () * Number of clocked 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.0004956/0.7009, allocations: 0.6319 MB / 0.6718 GB, free: 14.65 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 5.315e-05/0.7009, allocations: 0 / 0.6718 GB, free: 14.65 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7009, allocations: 4 kB / 0.6718 GB, free: 14.65 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 5.089e-06/0.7009, allocations: 0 / 0.6718 GB, free: 14.65 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.491e-05/0.701, allocations: 0 / 0.6718 GB, free: 14.65 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003206/0.7014, allocations: 120.8 kB / 0.6719 GB, free: 14.49 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.7017, allocations: 0.6692 MB / 0.6726 GB, free: 13.79 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 1.537e-05/0.7017, allocations: 8.125 kB / 0.6726 GB, free: 13.79 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.577e-05/0.7017, allocations: 7.438 kB / 0.6726 GB, free: 13.78 MB / 474.7 MB Notification: Performance of SimCode: time 2.31e-07/0.7017, allocations: 3.938 kB / 0.6726 GB, free: 13.77 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01126/0.713, allocations: 0.9219 MB / 0.6735 GB, free: 12.97 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001742/0.7132, allocations: 181.9 kB / 0.6737 GB, free: 12.73 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.544/2.257, allocations: 0 / 0.6737 GB, free: 12.73 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ0.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)