Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.Examples.BesselY0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselY0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_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.008341/0.008341, allocations: 99.64 kB / 15.73 MB, free: 6.016 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.002048/0.002048, allocations: 193 kB / 16.67 MB, free: 5.934 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.457/1.457, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003351/0.003351, allocations: 283.1 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9867/0.9867, allocations: 169.3 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 95.84 kB / 0.681 GB, free: 7.465 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4887/0.4906, allocations: 86.99 MB / 0.7659 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselY0): time 0.002728/0.4934, allocations: 1.422 MB / 0.7673 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006924/0.4941, allocations: 339.8 kB / 0.7676 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.199e-05/0.4941, allocations: 0 / 0.7676 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.053e-05/0.4942, allocations: 3.938 kB / 0.7676 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.891e-05/0.4942, allocations: 7.938 kB / 0.7676 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004796/0.4947, allocations: 107.7 kB / 0.7677 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.808e-05/0.4948, allocations: 19.92 kB / 0.7678 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.355e-05/0.4949, allocations: 11.94 kB / 0.7678 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.22e-05/0.4949, allocations: 11.97 kB / 0.7678 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.826e-05/0.495, allocations: 7.938 kB / 0.7678 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.495, allocations: 4 kB / 0.7678 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002188/0.4952, allocations: 119.8 kB / 0.7679 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.232e-05/0.4953, allocations: 3.984 kB / 0.7679 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.052e-05/0.4953, allocations: 15.94 kB / 0.7679 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001978/0.4955, allocations: 91.12 kB / 0.768 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.4955, allocations: 0 / 0.768 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.373e-06/0.4955, allocations: 0 / 0.768 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.4955, allocations: 3.938 kB / 0.768 GB, free: 1.688 MB / 0.5294 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.0004559/0.496, allocations: 357 kB / 0.7684 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.496, allocations: 8.031 kB / 0.7684 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.876e-05/0.4961, allocations: 38.69 kB / 0.7684 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.291e-05/0.4961, allocations: 0.9375 kB / 0.7684 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.4962, allocations: 164.3 kB / 0.7686 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.4962, allocations: 8.375 kB / 0.7686 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.504e-06/0.4962, allocations: 384 / 0.7686 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.4964, allocations: 50.23 kB / 0.7686 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.4964, allocations: 3.938 kB / 0.7686 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.645e-06/0.4965, allocations: 0 / 0.7686 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.4965, allocations: 0 / 0.7686 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/0.4966, allocations: 35.95 kB / 0.7687 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000295/0.4969, allocations: 252.9 kB / 0.7689 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.4971, allocations: 42.48 kB / 0.7689 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.302e-05/0.4972, allocations: 16.91 kB / 0.769 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006686/0.4978, allocations: 461.5 kB / 0.7694 GB, free: 24 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.4979, allocations: 34.56 kB / 0.7694 GB, free: 15.98 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.4979, allocations: 0 / 0.7694 GB, free: 15.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003443/0.4982, allocations: 81.7 kB / 0.7695 GB, free: 15.89 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.4983, allocations: 59.41 kB / 0.7696 GB, free: 15.82 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.518e-05/0.4984, allocations: 97.86 kB / 0.7697 GB, free: 15.72 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.4984, allocations: 25.7 kB / 0.7697 GB, free: 15.69 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.369e-05/0.4984, allocations: 80.14 kB / 0.7698 GB, free: 15.61 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/0.4984, allocations: 11.89 kB / 0.7698 GB, free: 15.59 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-05/0.4985, allocations: 13.7 kB / 0.7698 GB, free: 15.57 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.519e-05/0.4986, allocations: 314.8 kB / 0.7701 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.046e-05/0.4987, allocations: 19.98 kB / 0.7701 GB, free: 15.24 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.113e-05/0.4988, allocations: 15.98 kB / 0.7701 GB, free: 15.22 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.4989, allocations: 44.75 kB / 0.7702 GB, free: 15.18 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.4989, allocations: 3.938 kB / 0.7702 GB, free: 15.17 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001923/0.4991, allocations: 69.66 kB / 0.7702 GB, free: 15.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.4991, allocations: 8 kB / 0.7702 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.4991, allocations: 0 / 0.7702 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.4992, allocations: 0 / 0.7702 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.509e-05/0.4992, allocations: 4 kB / 0.7702 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.4993, allocations: 4 kB / 0.7702 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.476e-05/0.4993, allocations: 7.984 kB / 0.7703 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.89e-06/0.4993, allocations: 0 / 0.7703 GB, free: 15.07 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.597e-05/0.4994, allocations: 117.8 kB / 0.7704 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.4994, allocations: 3.953 kB / 0.7704 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002148/0.4996, allocations: 76.7 kB / 0.7704 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.4997, allocations: 3.938 kB / 0.7704 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.4997, allocations: 0 / 0.7704 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.4997, allocations: 0 / 0.7704 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.4998, allocations: 161.6 kB / 0.7706 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.4998, allocations: 4 kB / 0.7706 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.851e-05/0.4999, allocations: 20.2 kB / 0.7706 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.4999, allocations: 0 / 0.7706 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.4999, allocations: 0 / 0.7706 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.4999, allocations: 0 / 0.7706 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4999, allocations: 3.984 kB / 0.7706 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/0.5002, allocations: 161.2 kB / 0.7708 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.244e-05/0.5002, allocations: 85.14 kB / 0.7709 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.5002, allocations: 0 / 0.7709 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.408e-05/0.5003, allocations: 7.984 kB / 0.7709 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.489e-05/0.5003, allocations: 7.938 kB / 0.7709 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.5004, allocations: 0 / 0.7709 GB, free: 14.34 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.837e-05/0.5004, allocations: 83.27 kB / 0.771 GB, free: 14.26 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5004, allocations: 0 / 0.771 GB, free: 14.26 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002592/0.5007, allocations: 27.94 kB / 0.771 GB, free: 14.23 MB / 0.545 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 (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.0006004/0.5013, allocations: 0.7319 MB / 0.7717 GB, free: 13.47 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002033/0.5015, allocations: 43.89 kB / 0.7717 GB, free: 13.43 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.5015, allocations: 7.938 kB / 0.7717 GB, free: 13.42 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.107e-05/0.5016, allocations: 15.98 kB / 0.7718 GB, free: 13.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.5018, allocations: 0 / 0.7718 GB, free: 13.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003931/0.5022, allocations: 147.2 kB / 0.7719 GB, free: 13.21 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001988/0.5024, allocations: 0.6768 MB / 0.7726 GB, free: 12.51 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.108e-05/0.5025, allocations: 3.906 kB / 0.7726 GB, free: 12.51 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.771e-05/0.5025, allocations: 7.438 kB / 0.7726 GB, free: 12.5 MB / 0.545 GB Notification: Performance of SimCode: time 3.2e-07/0.5025, allocations: 0 / 0.7726 GB, free: 12.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0193/0.5218, allocations: 1.771 MB / 0.7743 GB, free: 10.82 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.243/7.765, allocations: 4.5 kB / 0.7743 GB, free: 10.82 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.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_Examples_BesselY0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe 2>&1)