Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselY1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY1,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY1,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.749/1.749, allocations: 288.4 MB / 303.3 MB, free: 8.098 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009548/0.0009548, allocations: 184.5 kB / 372 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.53/1.53, allocations: 205.4 MB / 0.6307 GB, free: 9.992 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006857/0.0006858, allocations: 104 kB / 0.7441 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005317/0.0005318, allocations: 19.88 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2707, allocations: 115.3 MB / 0.9796 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.001866/0.2726, allocations: 1.133 MB / 0.9808 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000746/0.2734, allocations: 341 kB / 0.9811 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.489e-05/0.2735, allocations: 0 / 0.9811 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.658e-05/0.2735, allocations: 0 / 0.9811 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.842e-05/0.2736, allocations: 7.938 kB / 0.9811 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005202/0.2741, allocations: 79.84 kB / 0.9812 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.322e-05/0.2742, allocations: 11.94 kB / 0.9812 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.746e-05/0.2743, allocations: 11.98 kB / 0.9812 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.867e-05/0.2743, allocations: 4 kB / 0.9812 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.645e-05/0.2744, allocations: 15.91 kB / 0.9812 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.2744, allocations: 0 / 0.9812 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003004/0.2747, allocations: 127.8 kB / 0.9813 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.049e-05/0.2748, allocations: 15.91 kB / 0.9813 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.521e-05/0.2748, allocations: 29.7 kB / 0.9814 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.275, allocations: 47.92 kB / 0.9814 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.275, allocations: 4 kB / 0.9814 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.353e-06/0.275, allocations: 3.938 kB / 0.9814 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.275, allocations: 0 / 0.9814 GB, free: 25.72 MB / 0.6198 GB 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.0004809/0.2755, allocations: 359.5 kB / 0.9818 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.2755, allocations: 20.02 kB / 0.9818 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.199e-05/0.2756, allocations: 30.56 kB / 0.9818 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.785e-05/0.2756, allocations: 0 / 0.9818 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.2757, allocations: 167 kB / 0.982 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.2758, allocations: 4 kB / 0.982 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.2758, allocations: 0 / 0.982 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002167/0.276, allocations: 53.67 kB / 0.982 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.276, allocations: 4 kB / 0.982 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.276, allocations: 0 / 0.982 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.2761, allocations: 0 / 0.982 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002247/0.2763, allocations: 47.89 kB / 0.9821 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003259/0.2766, allocations: 248.9 kB / 0.9823 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.2768, allocations: 46.55 kB / 0.9824 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.2769, allocations: 24.91 kB / 0.9824 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007716/0.2777, allocations: 473.5 kB / 0.9828 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.2778, allocations: 34.56 kB / 0.9829 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.894e-06/0.2778, allocations: 4 kB / 0.9829 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0004488/0.2782, allocations: 101.4 kB / 0.983 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.2783, allocations: 59.53 kB / 0.983 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.134e-05/0.2783, allocations: 97.84 kB / 0.9831 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.929e-06/0.2784, allocations: 25.7 kB / 0.9831 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.85e-05/0.2784, allocations: 88.14 kB / 0.9832 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.2784, allocations: 3.906 kB / 0.9832 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-06/0.2785, allocations: 0 / 0.9832 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.881e-05/0.2785, allocations: 314.8 kB / 0.9835 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.2786, allocations: 35.91 kB / 0.9836 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.511e-05/0.2788, allocations: 15.98 kB / 0.9836 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.2789, allocations: 23.98 kB / 0.9836 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2789, allocations: 0 / 0.9836 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002539/0.2791, allocations: 81.84 kB / 0.9837 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.2792, allocations: 4 kB / 0.9837 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.2792, allocations: 0 / 0.9837 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.2792, allocations: 4 kB / 0.9837 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.2793, allocations: 20 kB / 0.9837 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.2793, allocations: 0 / 0.9837 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.189e-05/0.2794, allocations: 8 kB / 0.9837 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.2794, allocations: 0 / 0.9837 GB, free: 23.05 MB / 0.6198 GB 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 6.601e-05/0.2795, allocations: 125.7 kB / 0.9838 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.678e-05/0.2795, allocations: 0 / 0.9838 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002789/0.2798, allocations: 84.72 kB / 0.9839 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.2799, allocations: 0 / 0.9839 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.2799, allocations: 0 / 0.9839 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.2799, allocations: 0 / 0.9839 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.28, allocations: 161.6 kB / 0.9841 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2801, allocations: 0 / 0.9841 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.316e-05/0.2801, allocations: 16.02 kB / 0.9841 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.2801, allocations: 0 / 0.9841 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.2802, allocations: 0 / 0.9841 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.2802, allocations: 0 / 0.9841 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.2802, allocations: 0 / 0.9841 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002762/0.2805, allocations: 179.4 kB / 0.9843 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.311e-05/0.2805, allocations: 81.11 kB / 0.9843 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.2805, allocations: 3.984 kB / 0.9843 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.2806, allocations: 4 kB / 0.9843 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.36e-05/0.2807, allocations: 11.92 kB / 0.9844 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.379e-06/0.2807, allocations: 0 / 0.9844 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.879e-05/0.2807, allocations: 87.31 kB / 0.9844 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2807, allocations: 0 / 0.9844 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003838/0.2811, allocations: 28 kB / 0.9845 GB, free: 22.18 MB / 0.6198 GB 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.0006756/0.2818, allocations: 0.7475 MB / 0.9852 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002723/0.2821, allocations: 51.98 kB / 0.9852 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2821, allocations: 3.938 kB / 0.9852 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.2822, allocations: 23.98 kB / 0.9853 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.2826, allocations: 9.844 kB / 0.9853 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005192/0.2831, allocations: 146.3 kB / 0.9854 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.2833, allocations: 0.6731 MB / 0.9861 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.857e-05/0.2833, allocations: 0 / 0.9861 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.857e-05/0.2833, allocations: 19.42 kB / 0.9861 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of SimCode: time 7.01e-07/0.2834, allocations: 0 / 0.9861 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0152/0.2986, allocations: 1.529 MB / 0.9876 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001884/0.2988, allocations: 185.1 kB / 0.9878 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.714/2.013, allocations: 0 / 0.9878 GB, free: 18.79 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_BesselY1.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1)