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.001516/0.001516, allocations: 183.5 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.6102/0.6102, allocations: 91.98 MB / 108.5 MB, free: 13.06 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.802/1.802, allocations: 223.2 MB / 354.3 MB, free: 12.23 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.001091/0.001091, allocations: 103.2 kB / 427.4 MB, free: 3.957 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003397/0.0003396, allocations: 12 kB / 0.4983 GB, free: 42.22 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1662, allocations: 72.31 MB / 0.5689 GB, free: 1.848 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5193/0.6855, allocations: 101.7 MB / 0.6682 GB, free: 2.766 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003515/0.686, allocations: 73.16 kB / 0.6683 GB, free: 2.695 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006/0.692, allocations: 1.542 MB / 0.6698 GB, free: 1.168 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.692, allocations: 0 / 0.6698 GB, free: 1.168 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.6921, allocations: 0 / 0.6698 GB, free: 1.168 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.000601/0.6927, allocations: 367.8 kB / 0.6701 GB, free: 0.7617 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.174e-05/0.6928, allocations: 12.03 kB / 0.6702 GB, free: 0.75 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.747e-05/0.6928, allocations: 30.56 kB / 0.6702 GB, free: 0.7109 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.695e-05/0.6929, allocations: 4.828 kB / 0.6702 GB, free: 0.707 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.693, allocations: 171.1 kB / 0.6704 GB, free: 0.5 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.6931, allocations: 0 / 0.6704 GB, free: 0.5 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.6931, allocations: 0 / 0.6704 GB, free: 0.5 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002594/0.6934, allocations: 65.59 kB / 0.6704 GB, free: 440 kB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.6934, allocations: 0 / 0.6704 GB, free: 440 kB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.6934, allocations: 0 / 0.6704 GB, free: 440 kB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.279e-06/0.6934, allocations: 0 / 0.6704 GB, free: 440 kB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002432/0.6937, allocations: 51.92 kB / 0.6705 GB, free: 388 kB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005441/0.6942, allocations: 264.8 kB / 0.6707 GB, free: 72 kB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.6944, allocations: 50.5 kB / 0.6708 GB, free: 12 kB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007595/0.6952, allocations: 445.5 kB / 0.6712 GB, free: 15.48 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.215e-05/0.6952, allocations: 35.8 kB / 0.6712 GB, free: 15.44 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.543e-06/0.6953, allocations: 4 kB / 0.6712 GB, free: 15.44 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004877/0.6958, allocations: 89.61 kB / 0.6713 GB, free: 15.34 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/0.6958, allocations: 63.53 kB / 0.6714 GB, free: 15.27 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.455e-05/0.6959, allocations: 92.98 kB / 0.6715 GB, free: 15.17 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.696, allocations: 25.7 kB / 0.6715 GB, free: 15.14 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.552e-05/0.696, allocations: 84.14 kB / 0.6716 GB, free: 15.05 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.117e-05/0.6961, allocations: 3.906 kB / 0.6716 GB, free: 15.05 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-06/0.6961, allocations: 0 / 0.6716 GB, free: 15.05 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.6962, allocations: 322.8 kB / 0.6719 GB, free: 14.73 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.6964, allocations: 23.98 kB / 0.6719 GB, free: 14.7 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.6965, allocations: 19.98 kB / 0.6719 GB, free: 14.68 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.6966, allocations: 19.98 kB / 0.6719 GB, free: 14.66 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.6966, allocations: 0 / 0.6719 GB, free: 14.66 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002706/0.6969, allocations: 77.72 kB / 0.672 GB, free: 14.58 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.6969, allocations: 8 kB / 0.672 GB, free: 14.57 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.6969, allocations: 0 / 0.672 GB, free: 14.57 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.697, allocations: 3.938 kB / 0.672 GB, free: 14.57 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.6971, allocations: 16.02 kB / 0.672 GB, free: 14.55 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.6971, allocations: 3.953 kB / 0.6721 GB, free: 14.55 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.901e-05/0.6972, allocations: 8 kB / 0.6721 GB, free: 14.54 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.6972, allocations: 3.984 kB / 0.6721 GB, free: 14.54 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 (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 9.911e-05/0.6973, allocations: 105.8 kB / 0.6722 GB, free: 14.43 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.251e-05/0.6974, allocations: 11.94 kB / 0.6722 GB, free: 14.41 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002963/0.6977, allocations: 78.34 kB / 0.6722 GB, free: 14.34 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.6977, allocations: 4 kB / 0.6723 GB, free: 14.33 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.6977, allocations: 0 / 0.6723 GB, free: 14.33 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.493e-06/0.6977, allocations: 3.953 kB / 0.6723 GB, free: 14.33 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000231/0.698, allocations: 161.6 kB / 0.6724 GB, free: 14.12 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.698, allocations: 0 / 0.6724 GB, free: 14.12 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.061e-05/0.6981, allocations: 12.03 kB / 0.6724 GB, free: 14.11 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.6981, allocations: 0 / 0.6724 GB, free: 14.11 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.6981, allocations: 0 / 0.6724 GB, free: 14.11 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.6981, allocations: 4 kB / 0.6724 GB, free: 14.11 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.6981, allocations: 7.984 kB / 0.6724 GB, free: 14.1 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003373/0.6985, allocations: 175.4 kB / 0.6726 GB, free: 13.91 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.452e-05/0.6985, allocations: 81.09 kB / 0.6727 GB, free: 13.81 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.6986, allocations: 0 / 0.6727 GB, free: 13.81 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.6987, allocations: 8 kB / 0.6727 GB, free: 13.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.908e-05/0.6987, allocations: 3.984 kB / 0.6727 GB, free: 13.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.6988, allocations: 0 / 0.6727 GB, free: 13.8 MB / 474.7 MB Notification: Performance of sorting global known variables: time 5.811e-05/0.6988, allocations: 91.44 kB / 0.6728 GB, free: 13.71 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6988, allocations: 0 / 0.6728 GB, free: 13.71 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004125/0.6993, allocations: 27.94 kB / 0.6728 GB, free: 13.68 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 (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.000847/0.7001, allocations: 0.7359 MB / 0.6735 GB, free: 12.92 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000272/0.7004, allocations: 51.98 kB / 0.6736 GB, free: 12.87 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.7004, allocations: 0 / 0.6736 GB, free: 12.87 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.7005, allocations: 23.98 kB / 0.6736 GB, free: 12.85 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.7008, allocations: 12.81 kB / 0.6736 GB, free: 12.84 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005709/0.7014, allocations: 142.8 kB / 0.6737 GB, free: 12.66 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.7017, allocations: 0.6848 MB / 0.6744 GB, free: 11.95 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 2.977e-05/0.7018, allocations: 0 / 0.6744 GB, free: 11.95 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.571e-05/0.7018, allocations: 7.438 kB / 0.6744 GB, free: 11.94 MB / 474.7 MB Notification: Performance of SimCode: time 3.2e-07/0.7018, allocations: 7.938 kB / 0.6744 GB, free: 11.93 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01426/0.7161, allocations: 1.202 MB / 0.6756 GB, free: 10.83 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002581/0.7164, allocations: 165 kB / 0.6758 GB, free: 10.59 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.561/2.278, allocations: 8.062 kB / 0.6758 GB, free: 10.58 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)