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.001211/0.001211, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001507/0.001508, allocations: 195.3 kB / 16.14 MB, free: 6.707 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.287/1.287, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001876/0.001876, allocations: 290.7 kB / 290.2 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8589/0.8589, allocations: 169.2 MB / 0.4977 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001584, allocations: 98.36 kB / 0.5946 GB, free: 28.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1869, allocations: 86.98 MB / 0.6795 GB, free: 1.051 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselY1): time 0.002841/0.1898, allocations: 1.485 MB / 0.681 GB, free: 15.57 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000766/0.1906, allocations: 374.4 kB / 0.6814 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.583e-05/0.1906, allocations: 3.938 kB / 0.6814 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.486e-05/0.1907, allocations: 3.984 kB / 0.6814 GB, free: 15.19 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.935e-05/0.1907, allocations: 8.547 kB / 0.6814 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003903/0.1911, allocations: 77.38 kB / 0.6814 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.818e-05/0.1912, allocations: 27.86 kB / 0.6815 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.579e-05/0.1913, allocations: 8.547 kB / 0.6815 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.08e-05/0.1913, allocations: 7.984 kB / 0.6815 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.069e-05/0.1914, allocations: 11.94 kB / 0.6815 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.1914, allocations: 4 kB / 0.6815 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000252/0.1917, allocations: 147.7 kB / 0.6816 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.408e-05/0.1917, allocations: 0 / 0.6816 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.142e-05/0.1917, allocations: 7.938 kB / 0.6816 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.1919, allocations: 92.08 kB / 0.6817 GB, free: 14.81 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.192, allocations: 0 / 0.6817 GB, free: 14.81 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.192, allocations: 0 / 0.6817 GB, free: 14.81 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.192, allocations: 0 / 0.6817 GB, free: 14.81 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.0005704/0.1925, allocations: 355.5 kB / 0.6821 GB, free: 14.41 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.1926, allocations: 11.97 kB / 0.6821 GB, free: 14.4 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.974e-05/0.1926, allocations: 30.75 kB / 0.6821 GB, free: 14.36 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.277e-05/0.1927, allocations: 12.84 kB / 0.6821 GB, free: 14.35 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.1928, allocations: 168.4 kB / 0.6823 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.1928, allocations: 384 / 0.6823 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.1929, allocations: 384 / 0.6823 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.193, allocations: 54.17 kB / 0.6823 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.193, allocations: 7.938 kB / 0.6823 GB, free: 14.08 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.1931, allocations: 0 / 0.6823 GB, free: 14.08 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.1931, allocations: 4 kB / 0.6824 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001509/0.1932, allocations: 27.97 kB / 0.6824 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000321/0.1936, allocations: 249 kB / 0.6826 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.1937, allocations: 46.44 kB / 0.6827 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.213e-05/0.1938, allocations: 20.91 kB / 0.6827 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007619/0.1946, allocations: 473.4 kB / 0.6831 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.1946, allocations: 34.56 kB / 0.6832 GB, free: 13.08 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.1946, allocations: 0 / 0.6832 GB, free: 13.08 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003635/0.195, allocations: 81.55 kB / 0.6832 GB, free: 12.99 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.195, allocations: 51.53 kB / 0.6833 GB, free: 12.93 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.14e-05/0.1951, allocations: 101.9 kB / 0.6834 GB, free: 12.82 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.1951, allocations: 29.7 kB / 0.6834 GB, free: 12.79 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.1952, allocations: 84.12 kB / 0.6835 GB, free: 12.7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.1953, allocations: 11.78 kB / 0.6835 GB, free: 12.69 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.19e-05/0.1953, allocations: 13.72 kB / 0.6835 GB, free: 12.67 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.1954, allocations: 314.8 kB / 0.6838 GB, free: 12.35 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.806e-05/0.1955, allocations: 15.92 kB / 0.6838 GB, free: 12.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.113e-05/0.1956, allocations: 27.97 kB / 0.6839 GB, free: 12.31 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.1957, allocations: 36.83 kB / 0.6839 GB, free: 12.27 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.1958, allocations: 3.938 kB / 0.6839 GB, free: 12.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001781/0.1959, allocations: 61.66 kB / 0.684 GB, free: 12.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.196, allocations: 8.094 kB / 0.684 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.196, allocations: 4 kB / 0.684 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.196, allocations: 0 / 0.684 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.44e-05/0.1961, allocations: 11.92 kB / 0.684 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.1961, allocations: 0 / 0.684 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.651e-05/0.1961, allocations: 4 kB / 0.684 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.1962, allocations: 7.938 kB / 0.684 GB, free: 12.16 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.224e-05/0.1962, allocations: 118.4 kB / 0.6841 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.226e-05/0.1963, allocations: 0 / 0.6841 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002263/0.1965, allocations: 72.78 kB / 0.6842 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1965, allocations: 0 / 0.6842 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.1965, allocations: 0 / 0.6842 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.1965, allocations: 192 / 0.6842 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001544/0.1967, allocations: 157.6 kB / 0.6843 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1967, allocations: 0 / 0.6843 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.816e-05/0.1967, allocations: 15.97 kB / 0.6843 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1968, allocations: 0 / 0.6843 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.1968, allocations: 8.031 kB / 0.6843 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.1968, allocations: 3.938 kB / 0.6844 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.1968, allocations: 4 kB / 0.6844 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002213/0.197, allocations: 159.5 kB / 0.6845 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.607e-05/0.1971, allocations: 81.02 kB / 0.6846 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.1971, allocations: 7.984 kB / 0.6846 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.831e-05/0.1971, allocations: 4.031 kB / 0.6846 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/0.1972, allocations: 8 kB / 0.6846 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.1972, allocations: 3.984 kB / 0.6846 GB, free: 11.43 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.523e-05/0.1972, allocations: 79.28 kB / 0.6847 GB, free: 11.36 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1972, allocations: 0 / 0.6847 GB, free: 11.36 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002482/0.1975, allocations: 28 kB / 0.6847 GB, free: 11.33 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.0006422/0.1981, allocations: 0.7358 MB / 0.6854 GB, free: 10.56 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002014/0.1984, allocations: 35.95 kB / 0.6855 GB, free: 10.53 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1984, allocations: 4 kB / 0.6855 GB, free: 10.52 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.545e-05/0.1985, allocations: 15.98 kB / 0.6855 GB, free: 10.51 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.1987, allocations: 7.938 kB / 0.6855 GB, free: 10.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004618/0.1992, allocations: 160.9 kB / 0.6856 GB, free: 10.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.1994, allocations: 0.6809 MB / 0.6863 GB, free: 9.598 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.289e-05/0.1994, allocations: 3.984 kB / 0.6863 GB, free: 9.594 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.333e-05/0.1995, allocations: 7.438 kB / 0.6863 GB, free: 9.586 MB / 494.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1995, allocations: 0 / 0.6863 GB, free: 9.586 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01133/0.2108, allocations: 1.586 MB / 0.6879 GB, free: 8.098 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001753/0.211, allocations: 194 kB / 0.6881 GB, free: 7.848 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.68/1.891, allocations: 0 / 0.6881 GB, free: 7.848 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)