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.001018/0.001018, allocations: 100 kB / 15.05 MB, free: 1.105 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.0009587/0.000959, allocations: 177.3 kB / 15.95 MB, free: 216 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.369/1.369, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.082/1.082, allocations: 143.3 MB / 434.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004542/0.0004543, allocations: 15.98 kB / 0.5159 GB, free: 11.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1793, allocations: 83.41 MB / 0.5974 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselY0): time 0.001781/0.1811, allocations: 1.136 MB / 0.5985 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006754/0.1818, allocations: 332 kB / 0.5988 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.431e-05/0.1819, allocations: 0 / 0.5988 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.179e-05/0.1819, allocations: 7.938 kB / 0.5988 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.463e-05/0.1819, allocations: 0 / 0.5988 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003764/0.1823, allocations: 75.78 kB / 0.5989 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.923e-05/0.1824, allocations: 11.98 kB / 0.5989 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.8e-05/0.1825, allocations: 4 kB / 0.5989 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.151e-05/0.1825, allocations: 7.984 kB / 0.5989 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.24e-05/0.1826, allocations: 11.94 kB / 0.5989 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.036e-05/0.1826, allocations: 0 / 0.5989 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002395/0.1828, allocations: 127.8 kB / 0.599 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.217e-05/0.1829, allocations: 7.984 kB / 0.599 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.663e-05/0.1829, allocations: 29.7 kB / 0.5991 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.183, allocations: 47.92 kB / 0.5991 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.183, allocations: 0 / 0.5991 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.183, allocations: 0 / 0.5991 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.1831, allocations: 0 / 0.5991 GB, free: 6.02 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.0004676/0.1835, allocations: 359.5 kB / 0.5994 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.1836, allocations: 16.02 kB / 0.5995 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.321e-05/0.1836, allocations: 34.5 kB / 0.5995 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.058e-05/0.1836, allocations: 0 / 0.5995 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.1838, allocations: 175 kB / 0.5997 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.1838, allocations: 0 / 0.5997 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.1838, allocations: 3.984 kB / 0.5997 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.184, allocations: 53.67 kB / 0.5997 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.184, allocations: 4 kB / 0.5997 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.184, allocations: 0 / 0.5997 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.184, allocations: 0 / 0.5997 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001717/0.1842, allocations: 43.95 kB / 0.5998 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003319/0.1845, allocations: 252.9 kB / 0.6 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.1847, allocations: 46.44 kB / 0.6 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006955/0.1854, allocations: 461.5 kB / 0.6005 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.1854, allocations: 34.56 kB / 0.6005 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1854, allocations: 0 / 0.6005 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003781/0.1858, allocations: 101.5 kB / 0.6006 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.1859, allocations: 55.34 kB / 0.6007 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.226e-05/0.1859, allocations: 105.8 kB / 0.6008 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.186, allocations: 29.7 kB / 0.6008 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.771e-05/0.186, allocations: 80.14 kB / 0.6009 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/0.186, allocations: 4.031 kB / 0.6009 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/0.186, allocations: 4 kB / 0.6009 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1862, allocations: 314.8 kB / 0.6012 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.09e-05/0.1863, allocations: 23.97 kB / 0.6012 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.957e-05/0.1864, allocations: 19.98 kB / 0.6012 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.226e-05/0.1865, allocations: 24.05 kB / 0.6012 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1865, allocations: 0 / 0.6012 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002013/0.1867, allocations: 81.66 kB / 0.6013 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.1867, allocations: 4 kB / 0.6013 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.1867, allocations: 4 kB / 0.6013 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.1867, allocations: 0 / 0.6013 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.927e-05/0.1868, allocations: 15.92 kB / 0.6013 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.1868, allocations: 0 / 0.6013 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.897e-05/0.1869, allocations: 7.953 kB / 0.6014 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.1869, allocations: 4 kB / 0.6014 GB, free: 3.391 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 0.0001397/0.1871, allocations: 113.9 kB / 0.6015 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.07e-05/0.1871, allocations: 3.938 kB / 0.6015 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002364/0.1873, allocations: 80.78 kB / 0.6015 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1873, allocations: 4.031 kB / 0.6016 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1873, allocations: 0 / 0.6016 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.1874, allocations: 4 kB / 0.6016 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.1875, allocations: 161.6 kB / 0.6017 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.1875, allocations: 0 / 0.6017 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.816e-05/0.1876, allocations: 11.98 kB / 0.6017 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.1876, allocations: 0 / 0.6017 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.1876, allocations: 3.938 kB / 0.6017 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1876, allocations: 0 / 0.6017 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1876, allocations: 0 / 0.6017 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/0.1879, allocations: 179.5 kB / 0.6019 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.651e-05/0.1879, allocations: 81.02 kB / 0.602 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.1879, allocations: 7.984 kB / 0.602 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.667e-05/0.188, allocations: 12.03 kB / 0.602 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.899e-05/0.1881, allocations: 0 / 0.602 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.1881, allocations: 7.922 kB / 0.602 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.977e-05/0.1882, allocations: 83.45 kB / 0.6021 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1882, allocations: 0 / 0.6021 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002566/0.1884, allocations: 32 kB / 0.6021 GB, free: 2.523 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.0006542/0.1891, allocations: 0.7475 MB / 0.6028 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002049/0.1893, allocations: 47.95 kB / 0.6029 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1893, allocations: 0 / 0.6029 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.536e-05/0.1894, allocations: 19.98 kB / 0.6029 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001586/0.1896, allocations: 8 kB / 0.6029 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004124/0.19, allocations: 150 kB / 0.6031 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.1903, allocations: 0.6889 MB / 0.6037 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.301e-05/0.1903, allocations: 0 / 0.6037 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.042e-05/0.1904, allocations: 7.438 kB / 0.6037 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1904, allocations: 0 / 0.6037 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2807/0.4711, allocations: 1.488 MB / 0.6052 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001955/0.4713, allocations: 176.6 kB / 0.6054 GB, free: 40.12 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.715/2.186, allocations: 3.938 kB / 0.6054 GB, free: 40.12 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: