Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.BesselY0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselY0,fileNamePrefix="BuildingSystems_BuildingSystems_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.001264/0.001263, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001523/0.001523, allocations: 195.9 kB / 16.14 MB, free: 6.664 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.298/1.298, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001912/0.001912, allocations: 281.2 kB / 290.2 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8553/0.8553, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 95.81 kB / 0.5946 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1759, allocations: 86.98 MB / 0.6795 GB, free: 1.059 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselY0): time 0.002632/0.1785, allocations: 1.48 MB / 0.681 GB, free: 15.58 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006685/0.1792, allocations: 367.7 kB / 0.6813 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.077e-05/0.1793, allocations: 0 / 0.6813 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.669e-05/0.1793, allocations: 0 / 0.6813 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.233e-05/0.1793, allocations: 0 / 0.6813 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003606/0.1797, allocations: 83.78 kB / 0.6814 GB, free: 15.13 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.214e-05/0.1798, allocations: 19.94 kB / 0.6814 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.72e-05/0.1799, allocations: 7.984 kB / 0.6814 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.073e-05/0.1799, allocations: 15.86 kB / 0.6815 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.781e-05/0.18, allocations: 11.98 kB / 0.6815 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.064e-05/0.18, allocations: 0 / 0.6815 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002473/0.1802, allocations: 131.8 kB / 0.6816 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.194e-05/0.1803, allocations: 3.984 kB / 0.6816 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.702e-05/0.1803, allocations: 11.92 kB / 0.6816 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001684/0.1805, allocations: 84.09 kB / 0.6817 GB, free: 14.85 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1805, allocations: 4 kB / 0.6817 GB, free: 14.85 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.1805, allocations: 0 / 0.6817 GB, free: 14.85 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.1805, allocations: 0 / 0.6817 GB, free: 14.85 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.0004785/0.181, allocations: 353.4 kB / 0.682 GB, free: 14.45 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.181, allocations: 15.97 kB / 0.6821 GB, free: 14.44 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.007e-05/0.1811, allocations: 34.73 kB / 0.6821 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.841e-05/0.1811, allocations: 4.844 kB / 0.6821 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.1812, allocations: 168.4 kB / 0.6823 GB, free: 14.19 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-06/0.1813, allocations: 384 / 0.6823 GB, free: 14.19 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.1813, allocations: 384 / 0.6823 GB, free: 14.19 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.1815, allocations: 54.23 kB / 0.6823 GB, free: 14.13 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.1815, allocations: 3.938 kB / 0.6823 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.1815, allocations: 0 / 0.6823 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1815, allocations: 0 / 0.6823 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001781/0.1817, allocations: 35.95 kB / 0.6823 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003301/0.182, allocations: 244.9 kB / 0.6826 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.1822, allocations: 43.02 kB / 0.6826 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.42e-05/0.1823, allocations: 28.89 kB / 0.6826 GB, free: 13.72 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006773/0.1829, allocations: 453.5 kB / 0.6831 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.183, allocations: 34.56 kB / 0.6831 GB, free: 13.14 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.183, allocations: 3.938 kB / 0.6831 GB, free: 13.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.000354/0.1833, allocations: 85.48 kB / 0.6832 GB, free: 13.05 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.1834, allocations: 51.41 kB / 0.6832 GB, free: 12.98 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.166e-05/0.1835, allocations: 105.8 kB / 0.6833 GB, free: 12.87 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.1835, allocations: 29.83 kB / 0.6834 GB, free: 12.84 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.339e-05/0.1836, allocations: 88.14 kB / 0.6835 GB, free: 12.75 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/0.1836, allocations: 7.844 kB / 0.6835 GB, free: 12.74 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.7e-05/0.1836, allocations: 9.719 kB / 0.6835 GB, free: 12.72 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.1837, allocations: 322.8 kB / 0.6838 GB, free: 12.4 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.81e-05/0.1838, allocations: 11.98 kB / 0.6838 GB, free: 12.39 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.977e-05/0.1839, allocations: 15.98 kB / 0.6838 GB, free: 12.37 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.1841, allocations: 44.81 kB / 0.6839 GB, free: 12.32 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.1841, allocations: 3.938 kB / 0.6839 GB, free: 12.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001738/0.1842, allocations: 65.61 kB / 0.6839 GB, free: 12.25 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.1843, allocations: 4 kB / 0.6839 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.1843, allocations: 3.938 kB / 0.6839 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.1843, allocations: 4.094 kB / 0.6839 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.956e-05/0.1844, allocations: 11.98 kB / 0.6839 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1844, allocations: 0 / 0.6839 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.468e-05/0.1844, allocations: 7.984 kB / 0.6839 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.1845, allocations: 0 / 0.6839 GB, free: 12.22 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.282e-05/0.1845, allocations: 110.4 kB / 0.6841 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.17e-05/0.1846, allocations: 4 kB / 0.6841 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002161/0.1848, allocations: 76.72 kB / 0.6841 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1848, allocations: 0 / 0.6841 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1848, allocations: 0 / 0.6841 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1848, allocations: 4 kB / 0.6841 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/0.185, allocations: 161.6 kB / 0.6843 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.185, allocations: 0 / 0.6843 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.357e-05/0.185, allocations: 7.984 kB / 0.6843 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.185, allocations: 0 / 0.6843 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.1851, allocations: 4 kB / 0.6843 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.1851, allocations: 4.031 kB / 0.6843 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1851, allocations: 0 / 0.6843 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.1853, allocations: 163.5 kB / 0.6845 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.018e-05/0.1853, allocations: 88.95 kB / 0.6845 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.1854, allocations: 3.938 kB / 0.6845 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.204e-05/0.1854, allocations: 7.984 kB / 0.6846 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.407e-05/0.1855, allocations: 4.031 kB / 0.6846 GB, free: 11.49 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.349e-06/0.1855, allocations: 4 kB / 0.6846 GB, free: 11.49 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.904e-05/0.1855, allocations: 79.28 kB / 0.6846 GB, free: 11.41 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1855, allocations: 0 / 0.6846 GB, free: 11.41 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002596/0.1858, allocations: 31.98 kB / 0.6847 GB, free: 11.38 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.0006576/0.1865, allocations: 0.7358 MB / 0.6854 GB, free: 10.61 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001941/0.1867, allocations: 39.94 kB / 0.6854 GB, free: 10.57 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1867, allocations: 0 / 0.6854 GB, free: 10.57 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.066e-05/0.1868, allocations: 23.97 kB / 0.6854 GB, free: 10.55 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00022/0.187, allocations: 0 / 0.6854 GB, free: 10.55 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003817/0.1874, allocations: 145 kB / 0.6856 GB, free: 10.37 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.1876, allocations: 0.6811 MB / 0.6863 GB, free: 9.664 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.181e-05/0.1877, allocations: 0 / 0.6863 GB, free: 9.664 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.63e-05/0.1877, allocations: 15.44 kB / 0.6863 GB, free: 9.648 MB / 494.1 MB Notification: Performance of SimCode: time 1.309e-05/0.1877, allocations: 0 / 0.6863 GB, free: 9.648 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01019/0.1979, allocations: 1.574 MB / 0.6878 GB, free: 8.168 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001685/0.1981, allocations: 196.8 kB / 0.688 GB, free: 7.918 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.641/1.839, allocations: 0 / 0.688 GB, free: 7.918 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe 2>&1)