Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.Examples.BesselY1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselY1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_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.0007557/0.0007557, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.00589/0.00589, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.371/1.371, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001708/0.001708, allocations: 267.2 kB / 291.7 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9501/0.9501, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004366/0.0004366, allocations: 20.23 kB / 0.5988 GB, free: 27.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1764, allocations: 88.54 MB / 0.6852 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselY1): time 0.001545/0.178, allocations: 1.153 MB / 0.6864 GB, free: 13.81 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007046/0.1787, allocations: 375.1 kB / 0.6867 GB, free: 13.44 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.902e-05/0.1787, allocations: 0 / 0.6867 GB, free: 13.44 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.424e-05/0.1788, allocations: 0 / 0.6867 GB, free: 13.44 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.678e-05/0.1788, allocations: 3.938 kB / 0.6867 GB, free: 13.44 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003578/0.1792, allocations: 79.86 kB / 0.6868 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.843e-05/0.1792, allocations: 19.92 kB / 0.6868 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.063e-05/0.1793, allocations: 4.812 kB / 0.6868 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.963e-05/0.1794, allocations: 15.92 kB / 0.6868 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.35e-05/0.1794, allocations: 4.5 kB / 0.6868 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.865e-06/0.1794, allocations: 0.6562 kB / 0.6868 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002284/0.1797, allocations: 148.3 kB / 0.687 GB, free: 13.17 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.859e-06/0.1797, allocations: 3.938 kB / 0.687 GB, free: 13.17 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.294e-05/0.1797, allocations: 36.06 kB / 0.687 GB, free: 13.13 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.1799, allocations: 96.02 kB / 0.6871 GB, free: 13.04 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1799, allocations: 0 / 0.6871 GB, free: 13.04 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1799, allocations: 0 / 0.6871 GB, free: 13.04 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.1799, allocations: 0 / 0.6871 GB, free: 13.04 MB / 494.1 MB 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.0003959/0.1803, allocations: 349.1 kB / 0.6874 GB, free: 12.64 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.1804, allocations: 12.03 kB / 0.6875 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.4e-05/0.1804, allocations: 31.28 kB / 0.6875 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.056e-05/0.1804, allocations: 6.25 kB / 0.6875 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.1805, allocations: 172.4 kB / 0.6877 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.397e-06/0.1806, allocations: 384 / 0.6877 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.1806, allocations: 384 / 0.6877 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.1807, allocations: 60.56 kB / 0.6877 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.1808, allocations: 3.938 kB / 0.6877 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.1808, allocations: 7.406 kB / 0.6877 GB, free: 12.31 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1808, allocations: 0 / 0.6877 GB, free: 12.31 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001613/0.1809, allocations: 43.97 kB / 0.6878 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003248/0.1813, allocations: 246.5 kB / 0.688 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.1814, allocations: 51.84 kB / 0.6881 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.424e-05/0.1815, allocations: 30.38 kB / 0.6881 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007213/0.1823, allocations: 473.4 kB / 0.6885 GB, free: 11.34 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.1823, allocations: 30.56 kB / 0.6886 GB, free: 11.3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1823, allocations: 4 kB / 0.6886 GB, free: 11.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003661/0.1827, allocations: 93.64 kB / 0.6887 GB, free: 11.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.1827, allocations: 55.53 kB / 0.6887 GB, free: 11.13 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.025e-05/0.1828, allocations: 105.8 kB / 0.6888 GB, free: 11.02 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.1828, allocations: 25.7 kB / 0.6888 GB, free: 10.98 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.728e-05/0.1829, allocations: 88.06 kB / 0.6889 GB, free: 10.89 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.1829, allocations: 7.844 kB / 0.6889 GB, free: 10.89 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-05/0.183, allocations: 13.72 kB / 0.6889 GB, free: 10.87 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.1831, allocations: 314.8 kB / 0.6892 GB, free: 10.55 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.431e-05/0.1832, allocations: 19.98 kB / 0.6893 GB, free: 10.53 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.692e-05/0.1832, allocations: 27.97 kB / 0.6893 GB, free: 10.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.1834, allocations: 48.89 kB / 0.6893 GB, free: 10.45 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.867e-06/0.1834, allocations: 3.938 kB / 0.6893 GB, free: 10.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001877/0.1836, allocations: 77.56 kB / 0.6894 GB, free: 10.37 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.1836, allocations: 4 kB / 0.6894 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1836, allocations: 4.031 kB / 0.6894 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.1837, allocations: 4 kB / 0.6894 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.187e-05/0.1838, allocations: 15.92 kB / 0.6894 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.1838, allocations: 0 / 0.6894 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.519e-05/0.1838, allocations: 4 kB / 0.6894 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-06/0.1838, allocations: 4.188 kB / 0.6894 GB, free: 10.33 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.6e-05/0.1839, allocations: 118.4 kB / 0.6896 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.238e-05/0.1839, allocations: 3.984 kB / 0.6896 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002278/0.1842, allocations: 84.77 kB / 0.6896 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.1842, allocations: 0 / 0.6896 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1842, allocations: 0 / 0.6896 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.1842, allocations: 8.031 kB / 0.6896 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.1844, allocations: 161.6 kB / 0.6898 GB, free: 9.898 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1844, allocations: 0 / 0.6898 GB, free: 9.898 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.793e-05/0.1844, allocations: 11.98 kB / 0.6898 GB, free: 9.887 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.1844, allocations: 3.938 kB / 0.6898 GB, free: 9.883 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.1844, allocations: 0 / 0.6898 GB, free: 9.883 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1845, allocations: 3.938 kB / 0.6898 GB, free: 9.879 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1845, allocations: 0 / 0.6898 GB, free: 9.879 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/0.1847, allocations: 175.5 kB / 0.69 GB, free: 9.691 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.485e-05/0.1847, allocations: 81.02 kB / 0.6901 GB, free: 9.594 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.1848, allocations: 0 / 0.6901 GB, free: 9.594 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.79e-05/0.1848, allocations: 20.02 kB / 0.6901 GB, free: 9.574 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.138e-05/0.1849, allocations: 0 / 0.6901 GB, free: 9.574 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.1849, allocations: 0 / 0.6901 GB, free: 9.574 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.12e-05/0.1849, allocations: 83.27 kB / 0.6902 GB, free: 9.492 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1849, allocations: 0 / 0.6902 GB, free: 9.492 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002623/0.1852, allocations: 28 kB / 0.6902 GB, free: 9.465 MB / 494.1 MB 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 (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.000618/0.1858, allocations: 0.7436 MB / 0.6909 GB, free: 8.691 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001971/0.186, allocations: 43.95 kB / 0.691 GB, free: 8.648 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.1861, allocations: 11.94 kB / 0.691 GB, free: 8.637 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.294e-05/0.1861, allocations: 24.05 kB / 0.691 GB, free: 8.613 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.1864, allocations: 2.062 kB / 0.691 GB, free: 8.613 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003725/0.1867, allocations: 154.3 kB / 0.6911 GB, free: 8.426 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002117/0.187, allocations: 0.677 MB / 0.6918 GB, free: 7.723 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.854e-05/0.187, allocations: 4.062 kB / 0.6918 GB, free: 7.719 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.688e-05/0.187, allocations: 7.438 kB / 0.6918 GB, free: 7.711 MB / 494.1 MB Notification: Performance of SimCode: time 3.31e-07/0.187, allocations: 0 / 0.6918 GB, free: 7.711 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01021/0.1972, allocations: 1.529 MB / 0.6933 GB, free: 6.305 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002093/0.1975, allocations: 201.2 kB / 0.6935 GB, free: 6.047 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.646/1.844, allocations: 0 / 0.6935 GB, free: 6.047 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe 2>&1)