Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselY0.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.BesselY0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselY0",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.001399/0.001399, allocations: 104.3 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.001591/0.001591, allocations: 191.3 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.275/1.275, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7075/0.7075, allocations: 122.9 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 63.91 kB / 0.4912 GB, free: 7.348 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3216, allocations: 77.93 MB / 0.5673 GB, free: 32.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.BesselY0): time 0.001737/0.3234, allocations: 0.572 MB / 0.5679 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005211/0.324, allocations: 285.9 kB / 0.5681 GB, free: 32.05 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.078e-05/0.324, allocations: 0 / 0.5681 GB, free: 32.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.426e-05/0.324, allocations: 0.5 kB / 0.5681 GB, free: 32.05 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.749e-06/0.324, allocations: 1.531 kB / 0.5681 GB, free: 32.05 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004115/0.3244, allocations: 97.41 kB / 0.5682 GB, free: 32.01 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.261e-05/0.3245, allocations: 0 / 0.5682 GB, free: 32.01 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.579e-05/0.3245, allocations: 2.812 kB / 0.5682 GB, free: 32.01 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.116e-05/0.3245, allocations: 1.469 kB / 0.5682 GB, free: 32.01 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.49e-05/0.3246, allocations: 1.125 kB / 0.5682 GB, free: 32.01 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.54e-06/0.3246, allocations: 0 / 0.5682 GB, free: 32.01 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002144/0.3248, allocations: 126.1 kB / 0.5683 GB, free: 31.97 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.221e-06/0.3248, allocations: 0.5625 kB / 0.5683 GB, free: 31.97 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.435e-05/0.3248, allocations: 6.219 kB / 0.5684 GB, free: 31.96 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001414/0.325, allocations: 69.7 kB / 0.5684 GB, free: 31.94 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.325, allocations: 1.062 kB / 0.5684 GB, free: 31.94 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.325, allocations: 1 kB / 0.5684 GB, free: 31.94 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.325, allocations: 0 / 0.5684 GB, free: 31.94 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.0001936/0.3252, allocations: 324.2 kB / 0.5687 GB, free: 31.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.3252, allocations: 11.91 kB / 0.5687 GB, free: 31.59 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.252e-05/0.3253, allocations: 35.78 kB / 0.5688 GB, free: 31.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.858e-05/0.3253, allocations: 0.9375 kB / 0.5688 GB, free: 31.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.199e-05/0.3253, allocations: 162.7 kB / 0.5689 GB, free: 31.35 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.3254, allocations: 1.312 kB / 0.5689 GB, free: 31.35 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.06e-06/0.3254, allocations: 2.156 kB / 0.5689 GB, free: 31.35 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.313e-05/0.3254, allocations: 33.69 kB / 0.569 GB, free: 31.31 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-06/0.3254, allocations: 3.938 kB / 0.569 GB, free: 31.31 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.981e-06/0.3254, allocations: 0.6562 kB / 0.569 GB, free: 31.31 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.3255, allocations: 0.8438 kB / 0.569 GB, free: 31.31 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.561e-05/0.3255, allocations: 2.656 kB / 0.569 GB, free: 31.31 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.916e-05/0.3256, allocations: 149.7 kB / 0.5691 GB, free: 31.12 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.559e-05/0.3256, allocations: 16.83 kB / 0.5691 GB, free: 31.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.196e-05/0.3256, allocations: 10.22 kB / 0.5691 GB, free: 31.08 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000568/0.3262, allocations: 460.8 kB / 0.5696 GB, free: 30.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.527e-05/0.3262, allocations: 35.56 kB / 0.5696 GB, free: 30.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.353e-06/0.3262, allocations: 1.156 kB / 0.5696 GB, free: 30.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.000101/0.3263, allocations: 35.75 kB / 0.5697 GB, free: 30.53 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.223e-05/0.3264, allocations: 54.73 kB / 0.5697 GB, free: 30.47 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.418e-05/0.3264, allocations: 89.86 kB / 0.5698 GB, free: 30.37 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.511e-06/0.3264, allocations: 26.64 kB / 0.5698 GB, free: 30.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.367e-06/0.3264, allocations: 81.3 kB / 0.5699 GB, free: 30.26 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.3264, allocations: 8.766 kB / 0.5699 GB, free: 30.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.321e-05/0.3265, allocations: 20.91 kB / 0.5699 GB, free: 30.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.893e-05/0.3265, allocations: 312.2 kB / 0.5702 GB, free: 29.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.944e-06/0.3265, allocations: 1.156 kB / 0.5702 GB, free: 29.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.454e-06/0.3265, allocations: 3.344 kB / 0.5702 GB, free: 29.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.979e-05/0.3266, allocations: 12.3 kB / 0.5702 GB, free: 29.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3266, allocations: 0.5938 kB / 0.5702 GB, free: 29.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.159e-05/0.3266, allocations: 32.97 kB / 0.5703 GB, free: 29.87 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.3266, allocations: 7.609 kB / 0.5703 GB, free: 29.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3266, allocations: 3.938 kB / 0.5703 GB, free: 29.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.3266, allocations: 0 / 0.5703 GB, free: 29.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.547e-05/0.3267, allocations: 1.688 kB / 0.5703 GB, free: 29.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.3267, allocations: 2.781 kB / 0.5703 GB, free: 29.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.547e-06/0.3267, allocations: 0 / 0.5703 GB, free: 29.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.3267, allocations: 2.5 kB / 0.5703 GB, free: 29.87 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 4e-05/0.3268, allocations: 115.4 kB / 0.5704 GB, free: 29.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.222e-06/0.3268, allocations: 1.625 kB / 0.5704 GB, free: 29.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.093e-05/0.3268, allocations: 42.8 kB / 0.5704 GB, free: 29.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.3269, allocations: 1.594 kB / 0.5704 GB, free: 29.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3269, allocations: 4.5 kB / 0.5704 GB, free: 29.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-06/0.3269, allocations: 1.562 kB / 0.5704 GB, free: 29.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.668e-05/0.3269, allocations: 150.2 kB / 0.5706 GB, free: 29.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.3269, allocations: 0 / 0.5706 GB, free: 29.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.189e-05/0.3269, allocations: 4.031 kB / 0.5706 GB, free: 29.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.3269, allocations: 0 / 0.5706 GB, free: 29.51 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-06/0.327, allocations: 3.938 kB / 0.5706 GB, free: 29.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.327, allocations: 2.844 kB / 0.5706 GB, free: 29.51 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.327, allocations: 0.7188 kB / 0.5706 GB, free: 29.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.583e-05/0.327, allocations: 59.33 kB / 0.5707 GB, free: 29.44 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.454e-05/0.327, allocations: 77.72 kB / 0.5707 GB, free: 29.35 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.688e-06/0.3271, allocations: 5.688 kB / 0.5707 GB, free: 29.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.903e-06/0.3271, allocations: 1.094 kB / 0.5707 GB, free: 29.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.528e-06/0.3271, allocations: 4 kB / 0.5707 GB, free: 29.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.3271, allocations: 4.125 kB / 0.5707 GB, free: 29.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.165e-05/0.3271, allocations: 75.28 kB / 0.5708 GB, free: 29.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3271, allocations: 0 / 0.5708 GB, free: 29.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002104/0.3273, allocations: 25.88 kB / 0.5708 GB, free: 29.26 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.0003328/0.3277, allocations: 0.6374 MB / 0.5715 GB, free: 28.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.02e-05/0.3277, allocations: 9.406 kB / 0.5715 GB, free: 28.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.3277, allocations: 1.094 kB / 0.5715 GB, free: 28.65 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.595e-06/0.3278, allocations: 3.484 kB / 0.5715 GB, free: 28.65 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001193/0.3279, allocations: 2.344 kB / 0.5715 GB, free: 28.65 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002249/0.3281, allocations: 113.5 kB / 0.5716 GB, free: 28.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.884e-05/0.3282, allocations: 0.6711 MB / 0.5722 GB, free: 27.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.029e-05/0.3282, allocations: 2.344 kB / 0.5722 GB, free: 27.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.044e-05/0.3282, allocations: 8.531 kB / 0.5723 GB, free: 27.81 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3282, allocations: 0 / 0.5723 GB, free: 27.81 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01586/0.3441, allocations: 1.358 MB / 0.5736 GB, free: 27.48 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.007/7.351, allocations: 6.359 kB / 0.5736 GB, free: 27.48 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselY0.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselY0_res.csv --start-time 0.1 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01196 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselY0.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1)