Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselY0,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselY0,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.0008106/0.0008106, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009696/0.0009696, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.033/1.033, allocations: 143.4 MB / 434.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003228/0.0003228, allocations: 12 kB / 0.5161 GB, free: 11.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.19, allocations: 83.42 MB / 0.5976 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselY0): time 0.001824/0.1918, allocations: 1.14 MB / 0.5987 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008159/0.1927, allocations: 332.1 kB / 0.599 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.474e-05/0.1927, allocations: 0 / 0.599 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.926e-05/0.1928, allocations: 0 / 0.599 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.789e-05/0.1928, allocations: 0 / 0.599 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004024/0.1932, allocations: 75.8 kB / 0.5991 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.828e-05/0.1933, allocations: 23.92 kB / 0.5991 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.446e-05/0.1934, allocations: 4 kB / 0.5991 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.745e-05/0.1935, allocations: 11.98 kB / 0.5991 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.946e-05/0.1935, allocations: 7.938 kB / 0.5991 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.087e-05/0.1935, allocations: 4 kB / 0.5991 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002279/0.1938, allocations: 127.7 kB / 0.5992 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.048e-05/0.1938, allocations: 4 kB / 0.5992 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.835e-05/0.1938, allocations: 25.7 kB / 0.5993 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.194, allocations: 51.91 kB / 0.5993 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.194, allocations: 0 / 0.5993 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.134e-06/0.194, allocations: 0 / 0.5993 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.194, allocations: 7.938 kB / 0.5993 GB, free: 5.914 MB / 0.4981 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.0004625/0.1945, allocations: 367.5 kB / 0.5997 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.1945, allocations: 8.031 kB / 0.5997 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.314e-05/0.1946, allocations: 30.56 kB / 0.5997 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.227e-05/0.1946, allocations: 4 kB / 0.5997 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.1947, allocations: 167 kB / 0.5999 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.1947, allocations: 0 / 0.5999 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.1948, allocations: 8 kB / 0.5999 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.1949, allocations: 53.67 kB / 0.5999 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.195, allocations: 0 / 0.5999 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.195, allocations: 0 / 0.5999 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.195, allocations: 0 / 0.5999 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001533/0.1951, allocations: 47.95 kB / 0.6 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003237/0.1955, allocations: 248.9 kB / 0.6002 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.1956, allocations: 50.48 kB / 0.6002 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.341e-05/0.1957, allocations: 24.91 kB / 0.6003 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000637/0.1963, allocations: 461.5 kB / 0.6007 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.1964, allocations: 34.55 kB / 0.6007 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.263e-06/0.1964, allocations: 0 / 0.6007 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003465/0.1967, allocations: 101.6 kB / 0.6008 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.1968, allocations: 55.39 kB / 0.6009 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.016e-05/0.1969, allocations: 105.8 kB / 0.601 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.1969, allocations: 25.7 kB / 0.601 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.643e-05/0.1969, allocations: 80.14 kB / 0.6011 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.604e-05/0.197, allocations: 3.906 kB / 0.6011 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-06/0.197, allocations: 0 / 0.6011 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.1971, allocations: 326.9 kB / 0.6014 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.37e-05/0.1972, allocations: 15.98 kB / 0.6014 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.522e-05/0.1972, allocations: 23.98 kB / 0.6015 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.944e-05/0.1973, allocations: 20.05 kB / 0.6015 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.1973, allocations: 0 / 0.6015 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001727/0.1975, allocations: 73.66 kB / 0.6015 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.1975, allocations: 8 kB / 0.6015 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1975, allocations: 8.156 kB / 0.6016 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.1976, allocations: 0 / 0.6016 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.53e-05/0.1976, allocations: 11.98 kB / 0.6016 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.1977, allocations: 0 / 0.6016 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.697e-05/0.1977, allocations: 23.86 kB / 0.6016 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.1977, allocations: 0 / 0.6016 GB, free: 3.258 MB / 0.4981 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 7.882e-05/0.1978, allocations: 109.8 kB / 0.6017 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.289e-05/0.1978, allocations: 8 kB / 0.6017 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002072/0.198, allocations: 76.78 kB / 0.6018 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1981, allocations: 7.938 kB / 0.6018 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.1981, allocations: 0 / 0.6018 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1981, allocations: 0 / 0.6018 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001479/0.1982, allocations: 169.6 kB / 0.6019 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1982, allocations: 0 / 0.6019 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.337e-05/0.1983, allocations: 11.94 kB / 0.602 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.1983, allocations: 3.984 kB / 0.602 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.1983, allocations: 0 / 0.602 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.1983, allocations: 4 kB / 0.602 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1983, allocations: 4 kB / 0.602 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/0.1985, allocations: 171.5 kB / 0.6021 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.477e-05/0.1986, allocations: 81.02 kB / 0.6022 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.1986, allocations: 0 / 0.6022 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.018e-05/0.1987, allocations: 12.03 kB / 0.6022 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.302e-05/0.1987, allocations: 7.984 kB / 0.6022 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.1987, allocations: 0 / 0.6022 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.204e-05/0.1988, allocations: 79.28 kB / 0.6023 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1988, allocations: 0 / 0.6023 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002395/0.199, allocations: 31.98 kB / 0.6023 GB, free: 2.398 MB / 0.4981 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.0006217/0.1996, allocations: 0.7475 MB / 0.6031 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001844/0.1998, allocations: 43.97 kB / 0.6031 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1999, allocations: 4 kB / 0.6031 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.513e-05/0.1999, allocations: 24.05 kB / 0.6031 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.2002, allocations: 7.922 kB / 0.6031 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003727/0.2005, allocations: 146.3 kB / 0.6033 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.2008, allocations: 0.677 MB / 0.6039 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.072e-05/0.2008, allocations: 8.047 kB / 0.6039 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.741e-05/0.2008, allocations: 11.44 kB / 0.604 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.2008, allocations: 0 / 0.604 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.305/0.5058, allocations: 1.499 MB / 0.6054 GB, free: 40.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001415/0.506, allocations: 183.5 kB / 0.6056 GB, free: 39.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.661/2.167, allocations: 0 / 0.6056 GB, free: 39.95 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselY0.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselY0.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselY0.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselY0.pipe 2>&1) Environment - environmentSimulation: