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.001008/0.001008, allocations: 99.72 kB / 16.27 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009478/0.0009478, allocations: 193.8 kB / 17.2 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7348/0.7348, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001258, allocations: 63.91 kB / 0.4912 GB, free: 7.383 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2979, allocations: 77.93 MB / 0.5673 GB, free: 32.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.BesselJ0): time 0.001564/0.2995, allocations: 0.5675 MB / 0.5678 GB, free: 32.42 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003953/0.2999, allocations: 181.1 kB / 0.568 GB, free: 32.3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.157e-06/0.3, allocations: 0 / 0.568 GB, free: 32.3 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.176e-05/0.3, allocations: 0 / 0.568 GB, free: 32.3 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.017e-06/0.3, allocations: 0.8125 kB / 0.568 GB, free: 32.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003113/0.3003, allocations: 47.44 kB / 0.5681 GB, free: 32.29 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.143e-05/0.3004, allocations: 5.594 kB / 0.5681 GB, free: 32.28 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.197e-05/0.3004, allocations: 5.766 kB / 0.5681 GB, free: 32.28 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.145e-05/0.3004, allocations: 9.438 kB / 0.5681 GB, free: 32.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.651e-05/0.3004, allocations: 0 / 0.5681 GB, free: 32.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.491e-06/0.3004, allocations: 3.938 kB / 0.5681 GB, free: 32.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001417/0.3006, allocations: 55.77 kB / 0.5681 GB, free: 32.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.792e-06/0.3006, allocations: 1.656 kB / 0.5681 GB, free: 32.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.23e-05/0.3006, allocations: 0.7969 kB / 0.5681 GB, free: 32.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.495e-05/0.3007, allocations: 38.62 kB / 0.5682 GB, free: 32.24 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.3007, allocations: 1.094 kB / 0.5682 GB, free: 32.24 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.3007, allocations: 0 / 0.5682 GB, free: 32.24 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.3007, allocations: 0.5625 kB / 0.5682 GB, free: 32.24 MB / 446.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.000186/0.3009, allocations: 315.8 kB / 0.5685 GB, free: 31.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.301, allocations: 12.67 kB / 0.5685 GB, free: 31.89 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.943e-05/0.301, allocations: 31.62 kB / 0.5685 GB, free: 31.85 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.674e-05/0.301, allocations: 4.938 kB / 0.5685 GB, free: 31.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.52e-05/0.3011, allocations: 168.2 kB / 0.5687 GB, free: 31.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-06/0.3011, allocations: 384 / 0.5687 GB, free: 31.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.51e-06/0.3011, allocations: 1.469 kB / 0.5687 GB, free: 31.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.906e-05/0.3012, allocations: 29.5 kB / 0.5687 GB, free: 31.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.962e-06/0.3012, allocations: 11.86 kB / 0.5687 GB, free: 31.6 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.542e-06/0.3012, allocations: 2.5 kB / 0.5687 GB, free: 31.6 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-06/0.3012, allocations: 1.469 kB / 0.5687 GB, free: 31.6 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.524e-05/0.3012, allocations: 1.188 kB / 0.5687 GB, free: 31.6 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.152e-05/0.3013, allocations: 144.7 kB / 0.5689 GB, free: 31.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.725e-05/0.3013, allocations: 25.86 kB / 0.5689 GB, free: 31.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.239e-05/0.3014, allocations: 5.984 kB / 0.5689 GB, free: 31.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005589/0.3019, allocations: 453 kB / 0.5693 GB, free: 30.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.27e-05/0.3019, allocations: 32.78 kB / 0.5694 GB, free: 30.87 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.3019, allocations: 0 / 0.5694 GB, free: 30.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001003/0.3021, allocations: 40.83 kB / 0.5694 GB, free: 30.83 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.643e-05/0.3021, allocations: 52.06 kB / 0.5695 GB, free: 30.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.363e-05/0.3021, allocations: 92.98 kB / 0.5695 GB, free: 30.67 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.022e-06/0.3021, allocations: 25.7 kB / 0.5696 GB, free: 30.64 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.739e-06/0.3021, allocations: 84.08 kB / 0.5697 GB, free: 30.55 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.3022, allocations: 6.125 kB / 0.5697 GB, free: 30.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.092e-05/0.3022, allocations: 16.03 kB / 0.5697 GB, free: 30.53 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.763e-05/0.3022, allocations: 316.8 kB / 0.57 GB, free: 30.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.196e-06/0.3022, allocations: 1.875 kB / 0.57 GB, free: 30.21 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.493e-06/0.3022, allocations: 2.875 kB / 0.57 GB, free: 30.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.799e-05/0.3023, allocations: 7.047 kB / 0.57 GB, free: 30.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3023, allocations: 0.625 kB / 0.57 GB, free: 30.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.02e-05/0.3023, allocations: 33.5 kB / 0.57 GB, free: 30.17 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.3023, allocations: 6.609 kB / 0.57 GB, free: 30.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.758e-06/0.3023, allocations: 3.938 kB / 0.57 GB, free: 30.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.3024, allocations: 0.5156 kB / 0.57 GB, free: 30.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.209e-05/0.3024, allocations: 11.47 kB / 0.57 GB, free: 30.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.3024, allocations: 0.8906 kB / 0.57 GB, free: 30.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.327e-06/0.3024, allocations: 1.094 kB / 0.57 GB, free: 30.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-06/0.3024, allocations: 1.031 kB / 0.57 GB, free: 30.16 MB / 446.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.583e-05/0.3025, allocations: 112.7 kB / 0.5701 GB, free: 30.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.851e-06/0.3025, allocations: 1.25 kB / 0.5702 GB, free: 30.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.671e-05/0.3025, allocations: 40.77 kB / 0.5702 GB, free: 30.01 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.3025, allocations: 0 / 0.5702 GB, free: 30.01 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.686e-06/0.3026, allocations: 0.5312 kB / 0.5702 GB, free: 30.01 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3026, allocations: 3.078 kB / 0.5702 GB, free: 30.01 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.344e-05/0.3026, allocations: 152.3 kB / 0.5703 GB, free: 29.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.3026, allocations: 0 / 0.5703 GB, free: 29.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.19e-05/0.3026, allocations: 3.125 kB / 0.5703 GB, free: 29.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.3026, allocations: 1.156 kB / 0.5703 GB, free: 29.81 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/0.3026, allocations: 3.938 kB / 0.5703 GB, free: 29.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.3027, allocations: 1.094 kB / 0.5703 GB, free: 29.81 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.3027, allocations: 5.516 kB / 0.5704 GB, free: 29.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.41e-05/0.3027, allocations: 60.03 kB / 0.5704 GB, free: 29.74 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.262e-05/0.3027, allocations: 77.77 kB / 0.5705 GB, free: 29.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.526e-06/0.3027, allocations: 5.594 kB / 0.5705 GB, free: 29.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.773e-06/0.3028, allocations: 0 / 0.5705 GB, free: 29.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.115e-05/0.3028, allocations: 2.938 kB / 0.5705 GB, free: 29.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.3028, allocations: 1.125 kB / 0.5705 GB, free: 29.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.02e-05/0.3028, allocations: 75.28 kB / 0.5706 GB, free: 29.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3028, allocations: 0.9688 kB / 0.5706 GB, free: 29.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000196/0.303, allocations: 16.14 kB / 0.5706 GB, free: 29.56 MB / 446.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002586/0.3033, allocations: 0.6205 MB / 0.5712 GB, free: 28.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.469e-05/0.3033, allocations: 6.203 kB / 0.5712 GB, free: 28.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.3033, allocations: 0 / 0.5712 GB, free: 28.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.733e-06/0.3033, allocations: 3.5 kB / 0.5712 GB, free: 28.96 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001156/0.3035, allocations: 6.609 kB / 0.5712 GB, free: 28.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002203/0.3037, allocations: 111.2 kB / 0.5713 GB, free: 28.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.839e-05/0.3038, allocations: 0.6716 MB / 0.572 GB, free: 28.13 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.258e-06/0.3038, allocations: 0 / 0.572 GB, free: 28.13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.078e-05/0.3038, allocations: 12.12 kB / 0.572 GB, free: 28.12 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3038, allocations: 0.5938 kB / 0.572 GB, free: 28.12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01525/0.3191, allocations: 1.118 MB / 0.5731 GB, free: 27.79 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.944/7.263, allocations: 14.06 kB / 0.5731 GB, free: 27.79 MB / 446.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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ0.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)