Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/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.Functions.Examples.BesselY0,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.0011/0.0011, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001163/0.001163, allocations: 172.7 kB / 15.95 MB, free: 208 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.362/1.362, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.019/1.019, allocations: 143.4 MB / 434.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003242/0.0003242, allocations: 16 kB / 0.5161 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1578, allocations: 83.41 MB / 0.5975 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselY0): time 0.0006019/0.1584, allocations: 315 kB / 0.5979 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004831/0.1589, allocations: 259.4 kB / 0.5981 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.814e-06/0.1589, allocations: 0 / 0.5981 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.536e-06/0.1589, allocations: 4 kB / 0.5981 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.16e-06/0.159, allocations: 0 / 0.5981 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003228/0.1593, allocations: 71.86 kB / 0.5982 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.704e-05/0.1593, allocations: 0 / 0.5982 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.959e-05/0.1594, allocations: 3.984 kB / 0.5982 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.035e-05/0.1594, allocations: 3.938 kB / 0.5982 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.863e-05/0.1594, allocations: 4 kB / 0.5982 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.591e-06/0.1594, allocations: 0 / 0.5982 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000227/0.1597, allocations: 127.8 kB / 0.5983 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.238e-06/0.1597, allocations: 7.938 kB / 0.5983 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.032e-05/0.1597, allocations: 25.7 kB / 0.5983 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.897e-05/0.1598, allocations: 43.92 kB / 0.5984 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1598, allocations: 0 / 0.5984 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1598, allocations: 0 / 0.5984 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.467e-06/0.1598, allocations: 0 / 0.5984 GB, free: 6.855 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000239/0.1601, allocations: 327.4 kB / 0.5987 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.1601, allocations: 8.031 kB / 0.5987 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.617e-05/0.1602, allocations: 30.56 kB / 0.5987 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.757e-05/0.1602, allocations: 0 / 0.5987 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.155e-05/0.1603, allocations: 171 kB / 0.5989 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.1603, allocations: 4 kB / 0.5989 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.33e-06/0.1603, allocations: 0 / 0.5989 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.549e-05/0.1604, allocations: 29.7 kB / 0.5989 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.1604, allocations: 0 / 0.5989 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.24e-06/0.1604, allocations: 4 kB / 0.5989 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1604, allocations: 4 kB / 0.5989 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.705e-05/0.1604, allocations: 7.922 kB / 0.5989 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001106/0.1605, allocations: 145.6 kB / 0.5991 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.356e-05/0.1606, allocations: 18.61 kB / 0.5991 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.297e-05/0.1606, allocations: 8.859 kB / 0.5991 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006364/0.1612, allocations: 461.5 kB / 0.5995 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.1613, allocations: 30.56 kB / 0.5996 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.1613, allocations: 0 / 0.5996 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001066/0.1614, allocations: 37.64 kB / 0.5996 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/0.1614, allocations: 51.53 kB / 0.5997 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.983e-05/0.1615, allocations: 93.86 kB / 0.5997 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.1615, allocations: 25.7 kB / 0.5998 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.396e-05/0.1615, allocations: 84.08 kB / 0.5999 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/0.1615, allocations: 7.906 kB / 0.5999 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.824e-06/0.1616, allocations: 0 / 0.5999 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.015e-05/0.1616, allocations: 318.8 kB / 0.6002 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.975e-06/0.1617, allocations: 0 / 0.6002 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.047e-06/0.1617, allocations: 0 / 0.6002 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.555e-05/0.1617, allocations: 8.062 kB / 0.6002 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.1617, allocations: 0 / 0.6002 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.589e-05/0.1617, allocations: 37.64 kB / 0.6002 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.1618, allocations: 4 kB / 0.6002 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.1618, allocations: 0 / 0.6002 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.1618, allocations: 4 kB / 0.6002 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.289e-05/0.1618, allocations: 3.984 kB / 0.6002 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.391e-06/0.1618, allocations: 3.984 kB / 0.6002 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.977e-06/0.1618, allocations: 0 / 0.6002 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-06/0.1619, allocations: 0 / 0.6002 GB, free: 4.648 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 (1): * Single equations (assignments): 1 * 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 6.062e-05/0.1619, allocations: 117.8 kB / 0.6003 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.38e-06/0.1619, allocations: 0 / 0.6003 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.14e-05/0.162, allocations: 36.83 kB / 0.6004 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.162, allocations: 0 / 0.6004 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.162, allocations: 7.922 kB / 0.6004 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.162, allocations: 0 / 0.6004 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.468e-05/0.1621, allocations: 145.6 kB / 0.6005 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1621, allocations: 4 kB / 0.6005 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.042e-05/0.1621, allocations: 3.938 kB / 0.6005 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1621, allocations: 8.016 kB / 0.6005 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-06/0.1622, allocations: 0 / 0.6005 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.1622, allocations: 0 / 0.6005 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1622, allocations: 0 / 0.6005 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.362e-05/0.1622, allocations: 61.12 kB / 0.6006 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.048e-05/0.1623, allocations: 81.06 kB / 0.6007 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.155e-06/0.1623, allocations: 0 / 0.6007 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.765e-06/0.1623, allocations: 4.031 kB / 0.6007 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.125e-06/0.1623, allocations: 0 / 0.6007 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-06/0.1623, allocations: 4 kB / 0.6007 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.209e-05/0.1623, allocations: 75.28 kB / 0.6007 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1623, allocations: 3.938 kB / 0.6007 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002096/0.1625, allocations: 27.98 kB / 0.6008 GB, free: 3.98 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 (1): * Single equations (assignments): 1 * 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.0004243/0.163, allocations: 0.6361 MB / 0.6014 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 4.982e-05/0.163, allocations: 4 kB / 0.6014 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.163, allocations: 4.094 kB / 0.6014 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.734e-06/0.1631, allocations: 7.938 kB / 0.6014 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001183/0.1632, allocations: 5.359 kB / 0.6014 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002392/0.1634, allocations: 116.4 kB / 0.6015 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001868/0.1636, allocations: 0.6692 MB / 0.6022 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.027e-05/0.1636, allocations: 0 / 0.6022 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.255e-05/0.1637, allocations: 11.44 kB / 0.6022 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1637, allocations: 0 / 0.6022 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01021/0.1739, allocations: 1.225 MB / 0.6034 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001703/0.1741, allocations: 197 kB / 0.6036 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.611/1.786, allocations: 0 / 0.6036 GB, free: 1.109 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_BesselY0.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) Environment - environmentSimulation: