Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.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.BesselY1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.BesselY1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselY1",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.006402/0.006402, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001453/0.001453, allocations: 195.1 kB / 16.67 MB, free: 5.969 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003102/0.003102, allocations: 281.5 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.9581/0.9581, allocations: 169.3 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 99.84 kB / 0.681 GB, free: 7.391 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4308/0.4327, allocations: 86.97 MB / 0.766 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselY1): time 0.00148/0.4342, allocations: 0.5782 MB / 0.7665 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0005494/0.4348, allocations: 295 kB / 0.7668 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.618e-06/0.4348, allocations: 4 kB / 0.7668 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.393e-05/0.4348, allocations: 0 / 0.7668 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.721e-06/0.4348, allocations: 0 / 0.7668 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004109/0.4353, allocations: 103.7 kB / 0.7669 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.367e-05/0.4353, allocations: 0 / 0.7669 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.537e-05/0.4353, allocations: 11.92 kB / 0.7669 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.172e-05/0.4354, allocations: 0 / 0.7669 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.894e-05/0.4354, allocations: 7.922 kB / 0.7669 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.753e-06/0.4354, allocations: 0 / 0.7669 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002239/0.4356, allocations: 123.8 kB / 0.767 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.546e-06/0.4356, allocations: 7.984 kB / 0.767 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.239e-05/0.4357, allocations: 0 / 0.767 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.4358, allocations: 67.69 kB / 0.7671 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.4358, allocations: 0 / 0.7671 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.052e-06/0.4358, allocations: 4 kB / 0.7671 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.4358, allocations: 0 / 0.7671 GB, free: 2.629 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002739/0.4361, allocations: 336.6 kB / 0.7674 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.4361, allocations: 8.031 kB / 0.7674 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.593e-05/0.4362, allocations: 30.75 kB / 0.7675 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.776e-05/0.4362, allocations: 0.9375 kB / 0.7675 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.217e-05/0.4363, allocations: 164.4 kB / 0.7676 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.434e-06/0.4363, allocations: 4.375 kB / 0.7676 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.266e-06/0.4363, allocations: 384 / 0.7676 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.844e-05/0.4364, allocations: 30.25 kB / 0.7677 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.4364, allocations: 3.938 kB / 0.7677 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.991e-06/0.4364, allocations: 0 / 0.7677 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.4364, allocations: 0 / 0.7677 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.693e-05/0.4364, allocations: 4 kB / 0.7677 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001362/0.4366, allocations: 153.6 kB / 0.7678 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.242e-05/0.4366, allocations: 26.55 kB / 0.7678 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.718e-05/0.4367, allocations: 4.859 kB / 0.7678 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007306/0.4374, allocations: 477.4 kB / 0.7683 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.4374, allocations: 34.56 kB / 0.7683 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.4374, allocations: 0 / 0.7683 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001164/0.4375, allocations: 37.58 kB / 0.7684 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.4376, allocations: 51.41 kB / 0.7684 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.316e-05/0.4376, allocations: 89.86 kB / 0.7685 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.4376, allocations: 25.7 kB / 0.7685 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.028e-05/0.4377, allocations: 84.27 kB / 0.7686 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.4377, allocations: 7.953 kB / 0.7686 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-05/0.4377, allocations: 17.7 kB / 0.7686 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.974e-05/0.4378, allocations: 310.8 kB / 0.7689 GB, free: 464 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.308e-06/0.4379, allocations: 0 / 0.7689 GB, free: 464 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.542e-06/0.4379, allocations: 4 kB / 0.7689 GB, free: 460 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.1e-05/0.4379, allocations: 4.859 kB / 0.7689 GB, free: 452 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.4379, allocations: 4.062 kB / 0.7689 GB, free: 448 kB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.093e-05/0.438, allocations: 41.64 kB / 0.769 GB, free: 400 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.438, allocations: 4 kB / 0.769 GB, free: 396 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.438, allocations: 3.938 kB / 0.769 GB, free: 392 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.438, allocations: 0 / 0.769 GB, free: 392 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.091e-05/0.438, allocations: 7.984 kB / 0.769 GB, free: 384 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.438, allocations: 0 / 0.769 GB, free: 384 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.548e-06/0.4381, allocations: 0 / 0.769 GB, free: 384 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.4381, allocations: 0 / 0.769 GB, free: 384 kB / 0.5294 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 6.041e-05/0.4381, allocations: 109.9 kB / 0.7691 GB, free: 264 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.261e-06/0.4381, allocations: 0 / 0.7691 GB, free: 264 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.289e-05/0.4382, allocations: 40.75 kB / 0.7691 GB, free: 220 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.4382, allocations: 4 kB / 0.7691 GB, free: 216 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.4382, allocations: 0 / 0.7691 GB, free: 216 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.4383, allocations: 0 / 0.7691 GB, free: 216 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.729e-05/0.4383, allocations: 145.7 kB / 0.7693 GB, free: 20 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.4383, allocations: 3.938 kB / 0.7693 GB, free: 16 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.278e-05/0.4384, allocations: 4 kB / 0.7693 GB, free: 12 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.4384, allocations: 0 / 0.7693 GB, free: 12 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.4384, allocations: 7.969 kB / 0.7693 GB, free: 4 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4384, allocations: 0 / 0.7693 GB, free: 4 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.4384, allocations: 0 / 0.7693 GB, free: 4 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.047e-05/0.4385, allocations: 61.06 kB / 0.7694 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.161e-05/0.4385, allocations: 81.11 kB / 0.7694 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.035e-05/0.4385, allocations: 3.938 kB / 0.7694 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.093e-06/0.4385, allocations: 3.938 kB / 0.7694 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.355e-05/0.4385, allocations: 4.031 kB / 0.7694 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.4386, allocations: 7.984 kB / 0.7695 GB, free: 15.81 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.406e-05/0.4386, allocations: 75.28 kB / 0.7695 GB, free: 15.73 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.4386, allocations: 0 / 0.7695 GB, free: 15.73 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002143/0.4388, allocations: 27.94 kB / 0.7696 GB, free: 15.71 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 (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.0004681/0.4393, allocations: 0.6396 MB / 0.7702 GB, free: 15.04 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.214e-05/0.4394, allocations: 4 kB / 0.7702 GB, free: 15.03 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4394, allocations: 0 / 0.7702 GB, free: 15.03 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.74e-06/0.4394, allocations: 4.062 kB / 0.7702 GB, free: 15.03 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001299/0.4395, allocations: 6.75 kB / 0.7702 GB, free: 15.02 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002811/0.4398, allocations: 129.5 kB / 0.7703 GB, free: 14.86 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.4401, allocations: 0.669 MB / 0.771 GB, free: 14.16 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.919e-06/0.4401, allocations: 0 / 0.771 GB, free: 14.16 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.399e-05/0.4401, allocations: 7.438 kB / 0.771 GB, free: 14.16 MB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/0.4401, allocations: 0 / 0.771 GB, free: 14.16 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01717/0.4573, allocations: 1.419 MB / 0.7724 GB, free: 12.84 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.553/8.01, allocations: 8.562 kB / 0.7724 GB, free: 12.84 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1_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_BesselY1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1)