Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="BuildingSystems_BuildingSystems_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.005874/0.005874, allocations: 98.66 kB / 15.73 MB, free: 6.039 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.001369/0.001369, allocations: 192.9 kB / 16.67 MB, free: 5.965 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002449/0.002448, allocations: 274.5 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.076/1.076, allocations: 178.6 MB / 0.5074 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002694/0.002695, allocations: 103 kB / 0.6943 GB, free: 3.539 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5116/0.5144, allocations: 89.14 MB / 0.7814 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselY0): time 0.001658/0.5161, allocations: 0.5941 MB / 0.782 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000641/0.5167, allocations: 285.5 kB / 0.7822 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.078e-05/0.5167, allocations: 0 / 0.7822 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.389e-05/0.5168, allocations: 3.938 kB / 0.7822 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.572e-06/0.5168, allocations: 0 / 0.7822 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004793/0.5173, allocations: 95.67 kB / 0.7823 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 3.84e-05/0.5173, allocations: 2.219 kB / 0.7823 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.332e-05/0.5174, allocations: 6.328 kB / 0.7823 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.458e-05/0.5174, allocations: 1.188 kB / 0.7823 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 1.855e-05/0.5174, allocations: 0 / 0.7823 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.043e-06/0.5174, allocations: 0 / 0.7823 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002774/0.5177, allocations: 125.6 kB / 0.7825 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.452e-05/0.5177, allocations: 7.922 kB / 0.7825 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.431e-05/0.5177, allocations: 1.156 kB / 0.7825 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.5179, allocations: 71.58 kB / 0.7825 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.5179, allocations: 0 / 0.7825 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5179, allocations: 1.469 kB / 0.7825 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.518, allocations: 0 / 0.7825 GB, free: 13.19 MB / 0.5606 GB 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.0003733/0.5183, allocations: 323.7 kB / 0.7828 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.5184, allocations: 9.438 kB / 0.7829 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.486e-05/0.5184, allocations: 34.75 kB / 0.7829 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.103e-05/0.5184, allocations: 1.594 kB / 0.7829 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.5186, allocations: 162.5 kB / 0.783 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.5186, allocations: 1.031 kB / 0.783 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.5186, allocations: 1.656 kB / 0.783 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.706e-05/0.5187, allocations: 32.3 kB / 0.7831 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.5187, allocations: 3.938 kB / 0.7831 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-06/0.5187, allocations: 0 / 0.7831 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.5188, allocations: 1.969 kB / 0.7831 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.985e-05/0.5188, allocations: 5.281 kB / 0.7831 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001583/0.5189, allocations: 149.1 kB / 0.7832 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.228e-05/0.519, allocations: 15.86 kB / 0.7832 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.885e-05/0.519, allocations: 14.48 kB / 0.7833 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007494/0.5198, allocations: 457 kB / 0.7837 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.5198, allocations: 32.25 kB / 0.7837 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.322e-06/0.5198, allocations: 0 / 0.7837 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001369/0.5199, allocations: 44.58 kB / 0.7838 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/0.52, allocations: 55.34 kB / 0.7838 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.64e-05/0.52, allocations: 90.66 kB / 0.7839 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.5201, allocations: 25.7 kB / 0.7839 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.384e-05/0.5201, allocations: 85.02 kB / 0.784 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/0.5202, allocations: 9.141 kB / 0.784 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/0.5202, allocations: 12.22 kB / 0.784 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.5203, allocations: 311.6 kB / 0.7843 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.202e-05/0.5204, allocations: 5.344 kB / 0.7843 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.756e-06/0.5204, allocations: 5.469 kB / 0.7843 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.29e-05/0.5204, allocations: 8.547 kB / 0.7843 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.5204, allocations: 0 / 0.7843 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.244e-05/0.5205, allocations: 39.36 kB / 0.7844 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.5205, allocations: 6.875 kB / 0.7844 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.5205, allocations: 3.938 kB / 0.7844 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.5205, allocations: 1.125 kB / 0.7844 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.723e-05/0.5206, allocations: 5.891 kB / 0.7844 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.5206, allocations: 0.8438 kB / 0.7844 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.016e-06/0.5206, allocations: 0 / 0.7844 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-06/0.5206, allocations: 1.031 kB / 0.7844 GB, free: 11.09 MB / 0.5606 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 (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 8.205e-05/0.5207, allocations: 111.9 kB / 0.7845 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.681e-06/0.5207, allocations: 0 / 0.7845 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.637e-05/0.5208, allocations: 47.98 kB / 0.7846 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.5208, allocations: 0 / 0.7846 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.5208, allocations: 1.031 kB / 0.7846 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.5208, allocations: 0 / 0.7846 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001113/0.5209, allocations: 144.8 kB / 0.7847 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.5209, allocations: 1.188 kB / 0.7847 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.146e-05/0.5209, allocations: 1.766 kB / 0.7847 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.5209, allocations: 1.125 kB / 0.7847 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.521, allocations: 8.719 kB / 0.7847 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.521, allocations: 0 / 0.7847 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.521, allocations: 3.844 kB / 0.7847 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.003e-05/0.521, allocations: 53.53 kB / 0.7848 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.086e-05/0.5211, allocations: 79.02 kB / 0.7848 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.5211, allocations: 5.953 kB / 0.7848 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.466e-06/0.5211, allocations: 0 / 0.7848 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.302e-05/0.5211, allocations: 8.578 kB / 0.7849 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.5211, allocations: 5.281 kB / 0.7849 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.495e-05/0.5212, allocations: 79.22 kB / 0.7849 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5212, allocations: 0 / 0.7849 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002091/0.5214, allocations: 26.92 kB / 0.785 GB, free: 10.48 MB / 0.5606 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 (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.0005324/0.5219, allocations: 0.632 MB / 0.7856 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.199e-05/0.522, allocations: 9.531 kB / 0.7856 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.522, allocations: 0 / 0.7856 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.977e-06/0.522, allocations: 10.09 kB / 0.7856 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001214/0.5222, allocations: 3.984 kB / 0.7856 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003859/0.5226, allocations: 104.9 kB / 0.7857 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.5229, allocations: 0.6712 MB / 0.7864 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.017e-05/0.5229, allocations: 0.5625 kB / 0.7864 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.781e-05/0.5229, allocations: 12.94 kB / 0.7864 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.5229, allocations: 0 / 0.7864 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0228/0.5457, allocations: 1.399 MB / 0.7877 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.71/8.256, allocations: 10.92 kB / 0.7877 GB, free: 8.645 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselY0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1)