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.005167/0.005167, allocations: 102.9 kB / 15.74 MB, free: 6.496 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.001278/0.001278, allocations: 196.2 kB / 16.68 MB, free: 6.375 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002515/0.002515, allocations: 282.1 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.04/1.04, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003961/0.003962, allocations: 100.7 kB / 0.681 GB, free: 15.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.2037, allocations: 86.97 MB / 0.766 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselY0): time 0.002038/0.2058, allocations: 0.569 MB / 0.7665 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0006785/0.2065, allocations: 291 kB / 0.7668 GB, free: 8.027 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.406e-05/0.2066, allocations: 0 / 0.7668 GB, free: 8.027 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.266e-05/0.2066, allocations: 0 / 0.7668 GB, free: 8.027 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.182e-06/0.2066, allocations: 3.938 kB / 0.7668 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005445/0.2072, allocations: 99.66 kB / 0.7669 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.13e-05/0.2072, allocations: 11.94 kB / 0.7669 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.194e-05/0.2073, allocations: 0 / 0.7669 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.631e-05/0.2073, allocations: 4 kB / 0.7669 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 1.86e-05/0.2073, allocations: 0 / 0.7669 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.133e-06/0.2073, allocations: 0 / 0.7669 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002639/0.2076, allocations: 119.8 kB / 0.767 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.654e-06/0.2076, allocations: 0 / 0.767 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.399e-05/0.2076, allocations: 0 / 0.767 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.2078, allocations: 68.11 kB / 0.7671 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2078, allocations: 0 / 0.7671 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2078, allocations: 0 / 0.7671 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.2078, allocations: 4 kB / 0.7671 GB, free: 7.723 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.0003844/0.2082, allocations: 331.4 kB / 0.7674 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.2083, allocations: 8.031 kB / 0.7674 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.471e-05/0.2083, allocations: 38.69 kB / 0.7674 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.416e-05/0.2083, allocations: 0.9375 kB / 0.7674 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.2085, allocations: 160.4 kB / 0.7676 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.2085, allocations: 384 / 0.7676 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.2085, allocations: 8.312 kB / 0.7676 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.2086, allocations: 30.25 kB / 0.7676 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.2086, allocations: 7.938 kB / 0.7676 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.655e-06/0.2087, allocations: 0 / 0.7676 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.2087, allocations: 0 / 0.7676 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.557e-05/0.2087, allocations: 8 kB / 0.7676 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001758/0.2089, allocations: 145.7 kB / 0.7678 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.02e-05/0.2089, allocations: 18.52 kB / 0.7678 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.001e-05/0.209, allocations: 8.953 kB / 0.7678 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000841/0.2098, allocations: 461.5 kB / 0.7683 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.2098, allocations: 30.56 kB / 0.7683 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.2098, allocations: 0 / 0.7683 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001371/0.21, allocations: 37.58 kB / 0.7683 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.21, allocations: 63.52 kB / 0.7684 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.666e-05/0.2101, allocations: 89.86 kB / 0.7685 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.2101, allocations: 25.7 kB / 0.7685 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.249e-05/0.2102, allocations: 80.14 kB / 0.7686 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.671e-05/0.2102, allocations: 3.953 kB / 0.7686 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.068e-05/0.2102, allocations: 13.72 kB / 0.7686 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.2104, allocations: 314.8 kB / 0.7689 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.318e-06/0.2104, allocations: 0 / 0.7689 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.54e-06/0.2104, allocations: 4 kB / 0.7689 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.191e-05/0.2104, allocations: 12.8 kB / 0.7689 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2104, allocations: 0 / 0.7689 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.834e-05/0.2105, allocations: 37.62 kB / 0.7689 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.2105, allocations: 8 kB / 0.7689 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.2105, allocations: 7.922 kB / 0.769 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.2105, allocations: 0 / 0.769 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.585e-05/0.2106, allocations: 0 / 0.769 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.2106, allocations: 0 / 0.769 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.118e-05/0.2106, allocations: 4.094 kB / 0.769 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-06/0.2106, allocations: 8 kB / 0.769 GB, free: 5.469 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 7.16e-05/0.2107, allocations: 106.5 kB / 0.7691 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.653e-06/0.2107, allocations: 0 / 0.7691 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.842e-05/0.2108, allocations: 40.75 kB / 0.7691 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.2108, allocations: 0 / 0.7691 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.2108, allocations: 3.938 kB / 0.7691 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.2108, allocations: 0 / 0.7691 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001092/0.2109, allocations: 149.7 kB / 0.7692 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.211, allocations: 4 kB / 0.7693 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.427e-05/0.211, allocations: 7.922 kB / 0.7693 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.211, allocations: 0 / 0.7693 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.211, allocations: 3.938 kB / 0.7693 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/0.211, allocations: 7.984 kB / 0.7693 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.211, allocations: 0 / 0.7693 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.33e-05/0.2111, allocations: 49.14 kB / 0.7693 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.336e-05/0.2111, allocations: 85.12 kB / 0.7694 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.2112, allocations: 3.938 kB / 0.7694 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.837e-06/0.2112, allocations: 4 kB / 0.7694 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.426e-05/0.2112, allocations: 4 kB / 0.7694 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.2112, allocations: 4 kB / 0.7694 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.66e-05/0.2112, allocations: 75.28 kB / 0.7695 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2113, allocations: 0 / 0.7695 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002852/0.2115, allocations: 23.94 kB / 0.7695 GB, free: 4.809 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.0005341/0.2121, allocations: 0.6513 MB / 0.7701 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.402e-05/0.2122, allocations: 0 / 0.7701 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2122, allocations: 4 kB / 0.7701 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.47e-06/0.2122, allocations: 0 / 0.7701 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001591/0.2123, allocations: 0 / 0.7701 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003427/0.2127, allocations: 122.5 kB / 0.7703 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.213, allocations: 0.6729 MB / 0.7709 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.333e-05/0.213, allocations: 7.938 kB / 0.7709 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.556e-05/0.213, allocations: 7.562 kB / 0.7709 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of SimCode: time 4.11e-07/0.213, allocations: 4 kB / 0.7709 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02286/0.2359, allocations: 1.395 MB / 0.7723 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.678/7.914, allocations: 15.19 kB / 0.7723 GB, free: 1.941 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselY0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1)