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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001466/0.001465, allocations: 96.27 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001849/0.001849, allocations: 179.1 kB / 16.57 MB, free: 6.859 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.638/2.638, allocations: 223.2 MB / 240.5 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.208/1.208, allocations: 113.7 MB / 405.3 MB, free: 4.711 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007177/0.0007178, allocations: 11.98 kB / 493 MB, free: 8.617 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3104, allocations: 77.12 MB / 0.5567 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.BesselJ0): time 0.001196/0.3116, allocations: 299.1 kB / 0.557 GB, free: 11.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000747/0.3124, allocations: 181.7 kB / 0.5572 GB, free: 11.24 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.321e-05/0.3124, allocations: 0 / 0.5572 GB, free: 11.24 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.392e-05/0.3125, allocations: 0 / 0.5572 GB, free: 11.24 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.183e-06/0.3125, allocations: 0 / 0.5572 GB, free: 11.24 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004819/0.313, allocations: 35.84 kB / 0.5572 GB, free: 11.2 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.778e-05/0.3131, allocations: 4 kB / 0.5572 GB, free: 11.2 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.02e-05/0.3131, allocations: 0 / 0.5572 GB, free: 11.2 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.274e-05/0.3132, allocations: 0 / 0.5572 GB, free: 11.2 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.544e-05/0.3132, allocations: 7.984 kB / 0.5572 GB, free: 11.19 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.3133, allocations: 3.938 kB / 0.5572 GB, free: 11.19 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003209/0.3136, allocations: 51.95 kB / 0.5573 GB, free: 11.14 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.72e-05/0.3136, allocations: 4 kB / 0.5573 GB, free: 11.13 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.001e-05/0.3137, allocations: 25.7 kB / 0.5573 GB, free: 11.1 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.3139, allocations: 23.95 kB / 0.5573 GB, free: 11.08 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.072e-05/0.3139, allocations: 0 / 0.5573 GB, free: 11.08 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.636e-06/0.3139, allocations: 3.938 kB / 0.5573 GB, free: 11.07 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.108e-06/0.314, allocations: 0 / 0.5573 GB, free: 11.07 MB / 430.1 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.0004467/0.3144, allocations: 319.4 kB / 0.5577 GB, free: 10.71 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.917e-05/0.3145, allocations: 8.031 kB / 0.5577 GB, free: 10.71 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.511e-05/0.3146, allocations: 30.56 kB / 0.5577 GB, free: 10.67 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.788e-05/0.3146, allocations: 4 kB / 0.5577 GB, free: 10.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.3148, allocations: 163.1 kB / 0.5579 GB, free: 10.46 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.3148, allocations: 4 kB / 0.5579 GB, free: 10.46 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.3148, allocations: 0 / 0.5579 GB, free: 10.46 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.315, allocations: 29.66 kB / 0.5579 GB, free: 10.43 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.315, allocations: 0 / 0.5579 GB, free: 10.43 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.315, allocations: 4 kB / 0.5579 GB, free: 10.42 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.3151, allocations: 0 / 0.5579 GB, free: 10.42 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.738e-05/0.3151, allocations: 7.938 kB / 0.5579 GB, free: 10.41 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002347/0.3154, allocations: 141.7 kB / 0.558 GB, free: 10.23 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.921e-05/0.3155, allocations: 22.61 kB / 0.5581 GB, free: 10.2 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001358/0.3168, allocations: 453.5 kB / 0.5585 GB, free: 9.66 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.722e-05/0.3169, allocations: 34.56 kB / 0.5585 GB, free: 9.617 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 2.214e-06/0.3169, allocations: 3.938 kB / 0.5585 GB, free: 9.613 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002615/0.3172, allocations: 45.58 kB / 0.5586 GB, free: 9.562 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.972e-05/0.3173, allocations: 51.41 kB / 0.5586 GB, free: 9.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.3175, allocations: 89.86 kB / 0.5587 GB, free: 9.402 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.3176, allocations: 25.7 kB / 0.5587 GB, free: 9.371 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.173e-05/0.3176, allocations: 84.27 kB / 0.5588 GB, free: 9.285 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.868e-05/0.3177, allocations: 0 / 0.5588 GB, free: 9.285 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.3177, allocations: 0 / 0.5588 GB, free: 9.285 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000562/0.3183, allocations: 314.8 kB / 0.5591 GB, free: 8.969 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.851e-05/0.3183, allocations: 0 / 0.5591 GB, free: 8.969 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.316e-05/0.3184, allocations: 0 / 0.5591 GB, free: 8.969 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.392e-05/0.3184, allocations: 0 / 0.5591 GB, free: 8.969 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.3184, allocations: 4 kB / 0.5591 GB, free: 8.965 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001322/0.3186, allocations: 45.66 kB / 0.5592 GB, free: 8.914 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.357e-05/0.3186, allocations: 4 kB / 0.5592 GB, free: 8.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.3187, allocations: 0 / 0.5592 GB, free: 8.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.029e-05/0.3187, allocations: 7.938 kB / 0.5592 GB, free: 8.902 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.226e-05/0.3188, allocations: 4 kB / 0.5592 GB, free: 8.898 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.307e-05/0.3188, allocations: 7.891 kB / 0.5592 GB, free: 8.891 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.81e-05/0.3189, allocations: 0 / 0.5592 GB, free: 8.891 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.3189, allocations: 0 / 0.5592 GB, free: 8.891 MB / 430.1 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 0.0001279/0.319, allocations: 105.8 kB / 0.5593 GB, free: 8.777 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.401e-05/0.3191, allocations: 8.031 kB / 0.5593 GB, free: 8.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001769/0.3193, allocations: 40.81 kB / 0.5593 GB, free: 8.719 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.3193, allocations: 0 / 0.5593 GB, free: 8.719 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.3193, allocations: 0 / 0.5593 GB, free: 8.719 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.3193, allocations: 3.953 kB / 0.5593 GB, free: 8.715 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00017/0.3195, allocations: 141.7 kB / 0.5595 GB, free: 8.527 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.3195, allocations: 0 / 0.5595 GB, free: 8.527 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.248e-05/0.3195, allocations: 4 kB / 0.5595 GB, free: 8.523 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.134e-05/0.3196, allocations: 7.969 kB / 0.5595 GB, free: 8.516 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.3196, allocations: 0 / 0.5595 GB, free: 8.516 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3196, allocations: 7.969 kB / 0.5595 GB, free: 8.508 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.3196, allocations: 0 / 0.5595 GB, free: 8.508 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001244/0.3198, allocations: 61.09 kB / 0.5595 GB, free: 8.43 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.814e-05/0.3198, allocations: 77.11 kB / 0.5596 GB, free: 8.336 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.3199, allocations: 7.922 kB / 0.5596 GB, free: 8.328 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.268e-05/0.3199, allocations: 0 / 0.5596 GB, free: 8.328 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.107e-05/0.3199, allocations: 0 / 0.5596 GB, free: 8.328 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.3199, allocations: 0 / 0.5596 GB, free: 8.328 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001221/0.3201, allocations: 79.31 kB / 0.5597 GB, free: 8.25 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.2e-07/0.3201, allocations: 4 kB / 0.5597 GB, free: 8.246 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003827/0.3205, allocations: 12 kB / 0.5597 GB, free: 8.234 MB / 430.1 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.0007526/0.3213, allocations: 0.6134 MB / 0.5603 GB, free: 7.59 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 9.967e-05/0.3214, allocations: 4 kB / 0.5603 GB, free: 7.586 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3214, allocations: 0 / 0.5603 GB, free: 7.586 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.951e-05/0.3214, allocations: 4 kB / 0.5603 GB, free: 7.582 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001495/0.3216, allocations: 3.984 kB / 0.5603 GB, free: 7.578 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004837/0.3221, allocations: 112.5 kB / 0.5604 GB, free: 7.43 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004935/0.3226, allocations: 0.6848 MB / 0.5611 GB, free: 6.719 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.93e-05/0.3227, allocations: 0 / 0.5611 GB, free: 6.719 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.529e-05/0.3227, allocations: 7.438 kB / 0.5611 GB, free: 6.711 MB / 430.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3227, allocations: 0 / 0.5611 GB, free: 6.711 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02852/0.3512, allocations: 0.9384 MB / 0.562 GB, free: 5.91 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003441/0.3517, allocations: 180.3 kB / 0.5622 GB, free: 5.668 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.117/3.468, allocations: 0 / 0.5622 GB, free: 5.668 MB / 430.1 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) Environment - environmentSimulation: