Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.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.BesselJ1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ1",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.001054/0.001054, allocations: 104.6 kB / 16.27 MB, free: 5.93 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.001115/0.001115, allocations: 187.4 kB / 17.2 MB, free: 5.574 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.274/1.274, 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.7703/0.7703, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 63.91 kB / 0.4912 GB, free: 7.328 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3177, allocations: 77.93 MB / 0.5673 GB, free: 32.85 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.BesselJ1): time 0.001666/0.3194, allocations: 0.5752 MB / 0.5679 GB, free: 32.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003999/0.3198, allocations: 192.5 kB / 0.568 GB, free: 32.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.149e-05/0.3198, allocations: 3.938 kB / 0.568 GB, free: 32.37 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.618e-06/0.3199, allocations: 0 / 0.568 GB, free: 32.37 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.831e-06/0.3199, allocations: 1.281 kB / 0.568 GB, free: 32.37 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003141/0.3202, allocations: 55.97 kB / 0.5681 GB, free: 32.35 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 2.994e-05/0.3202, allocations: 6.812 kB / 0.5681 GB, free: 32.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.373e-05/0.3203, allocations: 1.312 kB / 0.5681 GB, free: 32.34 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.11e-05/0.3203, allocations: 2.375 kB / 0.5681 GB, free: 32.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.633e-05/0.3203, allocations: 0.75 kB / 0.5681 GB, free: 32.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.05e-06/0.3203, allocations: 0.5625 kB / 0.5681 GB, free: 32.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.3205, allocations: 61.66 kB / 0.5682 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.923e-06/0.3205, allocations: 2.125 kB / 0.5682 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.292e-05/0.3205, allocations: 0 / 0.5682 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.3206, allocations: 40.92 kB / 0.5682 GB, free: 32.31 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3206, allocations: 1.031 kB / 0.5682 GB, free: 32.31 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3206, allocations: 0 / 0.5682 GB, free: 32.31 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.3206, allocations: 0 / 0.5682 GB, free: 32.31 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.0001835/0.3208, allocations: 318.6 kB / 0.5685 GB, free: 31.96 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.3209, allocations: 10.09 kB / 0.5685 GB, free: 31.96 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.871e-05/0.3209, allocations: 34.69 kB / 0.5686 GB, free: 31.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.956e-05/0.3209, allocations: 3.266 kB / 0.5686 GB, free: 31.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.608e-05/0.321, allocations: 166.8 kB / 0.5687 GB, free: 31.71 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.321, allocations: 384 / 0.5687 GB, free: 31.71 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.173e-06/0.321, allocations: 5.406 kB / 0.5687 GB, free: 31.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.356e-05/0.3211, allocations: 30.86 kB / 0.5688 GB, free: 31.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-06/0.3211, allocations: 5 kB / 0.5688 GB, free: 31.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-06/0.3211, allocations: 0.5156 kB / 0.5688 GB, free: 31.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.3211, allocations: 0 / 0.5688 GB, free: 31.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.524e-05/0.3211, allocations: 6.188 kB / 0.5688 GB, free: 31.67 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.66e-05/0.3212, allocations: 144.5 kB / 0.5689 GB, free: 31.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.828e-05/0.3212, allocations: 22.94 kB / 0.5689 GB, free: 31.46 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.354e-05/0.3213, allocations: 11.05 kB / 0.5689 GB, free: 31.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005896/0.3218, allocations: 455.3 kB / 0.5694 GB, free: 30.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.498e-05/0.3219, allocations: 34.59 kB / 0.5694 GB, free: 30.94 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.3219, allocations: 0 / 0.5694 GB, free: 30.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 9.989e-05/0.322, allocations: 43.5 kB / 0.5694 GB, free: 30.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.76e-05/0.322, allocations: 53.23 kB / 0.5695 GB, free: 30.83 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.353e-05/0.322, allocations: 90.83 kB / 0.5696 GB, free: 30.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.112e-06/0.322, allocations: 25.7 kB / 0.5696 GB, free: 30.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.867e-06/0.3221, allocations: 81.67 kB / 0.5697 GB, free: 30.62 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.3221, allocations: 5.156 kB / 0.5697 GB, free: 30.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.134e-05/0.3221, allocations: 13.05 kB / 0.5697 GB, free: 30.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.732e-05/0.3221, allocations: 316.1 kB / 0.57 GB, free: 30.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.384e-06/0.3222, allocations: 1.906 kB / 0.57 GB, free: 30.29 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.531e-06/0.3222, allocations: 1.031 kB / 0.57 GB, free: 30.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.909e-05/0.3222, allocations: 9.812 kB / 0.57 GB, free: 30.28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.3222, allocations: 1.688 kB / 0.57 GB, free: 30.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.955e-05/0.3222, allocations: 35.8 kB / 0.57 GB, free: 30.24 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.3223, allocations: 6.141 kB / 0.5701 GB, free: 30.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.3223, allocations: 5.094 kB / 0.5701 GB, free: 30.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.3223, allocations: 0.8125 kB / 0.5701 GB, free: 30.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.503e-05/0.3223, allocations: 1.75 kB / 0.5701 GB, free: 30.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.3223, allocations: 2.062 kB / 0.5701 GB, free: 30.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.566e-06/0.3223, allocations: 0 / 0.5701 GB, free: 30.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.3224, allocations: 1.891 kB / 0.5701 GB, free: 30.24 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 4.07e-05/0.3224, allocations: 113.6 kB / 0.5702 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.53e-06/0.3224, allocations: 0 / 0.5702 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.148e-05/0.3225, allocations: 47.3 kB / 0.5702 GB, free: 30.08 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.3225, allocations: 3.422 kB / 0.5702 GB, free: 30.08 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.3225, allocations: 3.938 kB / 0.5702 GB, free: 30.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.3225, allocations: 0 / 0.5702 GB, free: 30.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.509e-05/0.3226, allocations: 149.6 kB / 0.5704 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.3226, allocations: 1.156 kB / 0.5704 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.145e-05/0.3226, allocations: 2.516 kB / 0.5704 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.3226, allocations: 1.594 kB / 0.5704 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.069e-06/0.3226, allocations: 5.375 kB / 0.5704 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3226, allocations: 0 / 0.5704 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3226, allocations: 0 / 0.5704 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.6e-05/0.3226, allocations: 59.27 kB / 0.5704 GB, free: 29.81 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.541e-05/0.3227, allocations: 83.59 kB / 0.5705 GB, free: 29.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.378e-06/0.3227, allocations: 4.594 kB / 0.5705 GB, free: 29.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.134e-06/0.3227, allocations: 0.5625 kB / 0.5705 GB, free: 29.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.458e-06/0.3227, allocations: 7.094 kB / 0.5705 GB, free: 29.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.3227, allocations: 0 / 0.5705 GB, free: 29.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.828e-06/0.3227, allocations: 76.38 kB / 0.5706 GB, free: 29.63 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3227, allocations: 1.375 kB / 0.5706 GB, free: 29.63 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002012/0.3229, allocations: 15.58 kB / 0.5706 GB, free: 29.63 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.0002722/0.3232, allocations: 0.6154 MB / 0.5712 GB, free: 29.03 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.782e-05/0.3233, allocations: 5.516 kB / 0.5712 GB, free: 29.03 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3233, allocations: 4.938 kB / 0.5712 GB, free: 29.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.083e-06/0.3233, allocations: 2.281 kB / 0.5712 GB, free: 29.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001168/0.3234, allocations: 2.391 kB / 0.5712 GB, free: 29.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002217/0.3237, allocations: 115.1 kB / 0.5713 GB, free: 28.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.905e-05/0.3237, allocations: 0.6715 MB / 0.572 GB, free: 28.19 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.558e-06/0.3238, allocations: 1.094 kB / 0.572 GB, free: 28.19 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.115e-05/0.3238, allocations: 8.562 kB / 0.572 GB, free: 28.18 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3238, allocations: 0 / 0.572 GB, free: 28.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0156/0.3394, allocations: 1.122 MB / 0.5731 GB, free: 27.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.931/7.271, allocations: 10.06 kB / 0.5731 GB, free: 27.86 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1_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_BesselJ1.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)