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.001027/0.001027, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00111/0.00111, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.256/1.256, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002252/0.002252, allocations: 286.9 kB / 290.3 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9264/0.9264, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 96.25 kB / 0.5948 GB, free: 28.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.159, allocations: 86.99 MB / 0.6797 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselY0): time 0.002633/0.1616, allocations: 1.489 MB / 0.6812 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005983/0.1622, allocations: 344.8 kB / 0.6815 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.163e-05/0.1623, allocations: 0 / 0.6815 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.183e-05/0.1623, allocations: 3.938 kB / 0.6815 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.557e-05/0.1624, allocations: 0 / 0.6815 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003691/0.1627, allocations: 91.8 kB / 0.6816 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.557e-05/0.1628, allocations: 16.78 kB / 0.6816 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.505e-05/0.1629, allocations: 9.703 kB / 0.6816 GB, free: 15 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.281e-05/0.1629, allocations: 11.94 kB / 0.6816 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.796e-05/0.1629, allocations: 3.984 kB / 0.6816 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.937e-06/0.163, allocations: 4 kB / 0.6817 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001908/0.1632, allocations: 135.7 kB / 0.6818 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.019e-05/0.1632, allocations: 4.656 kB / 0.6818 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.845e-05/0.1632, allocations: 7.938 kB / 0.6818 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001549/0.1634, allocations: 92.91 kB / 0.6819 GB, free: 14.75 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1634, allocations: 0 / 0.6819 GB, free: 14.75 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1634, allocations: 1.125 kB / 0.6819 GB, free: 14.75 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.1634, allocations: 0 / 0.6819 GB, free: 14.75 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.0003823/0.1638, allocations: 360.3 kB / 0.6822 GB, free: 14.35 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.1638, allocations: 8.031 kB / 0.6822 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.394e-05/0.1639, allocations: 31.28 kB / 0.6823 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.95e-05/0.1639, allocations: 4.938 kB / 0.6823 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.964e-05/0.164, allocations: 168.3 kB / 0.6824 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.164, allocations: 384 / 0.6824 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-06/0.164, allocations: 4.375 kB / 0.6824 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.1642, allocations: 50.23 kB / 0.6825 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.1642, allocations: 3.938 kB / 0.6825 GB, free: 14.03 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.1642, allocations: 7.984 kB / 0.6825 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.1642, allocations: 0 / 0.6825 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001493/0.1644, allocations: 39.95 kB / 0.6825 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002999/0.1647, allocations: 245 kB / 0.6828 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.1648, allocations: 46.42 kB / 0.6828 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.805e-05/0.1649, allocations: 20.91 kB / 0.6828 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007027/0.1656, allocations: 461.5 kB / 0.6833 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.1657, allocations: 34.5 kB / 0.6833 GB, free: 13.03 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.332e-06/0.1657, allocations: 0 / 0.6833 GB, free: 13.03 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003423/0.166, allocations: 93.48 kB / 0.6834 GB, free: 12.93 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.1661, allocations: 51.41 kB / 0.6834 GB, free: 12.87 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.814e-05/0.1661, allocations: 101.8 kB / 0.6835 GB, free: 12.76 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.1662, allocations: 29.7 kB / 0.6836 GB, free: 12.73 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.111e-05/0.1662, allocations: 80.14 kB / 0.6836 GB, free: 12.64 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/0.1662, allocations: 11.83 kB / 0.6837 GB, free: 12.63 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.079e-05/0.1663, allocations: 17.84 kB / 0.6837 GB, free: 12.61 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.1664, allocations: 314.8 kB / 0.684 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.208e-05/0.1664, allocations: 11.98 kB / 0.684 GB, free: 12.28 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.514e-05/0.1665, allocations: 19.98 kB / 0.684 GB, free: 12.26 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.1666, allocations: 36.81 kB / 0.684 GB, free: 12.22 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1667, allocations: 8 kB / 0.684 GB, free: 12.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001732/0.1668, allocations: 69.59 kB / 0.6841 GB, free: 12.14 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.1669, allocations: 4 kB / 0.6841 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1669, allocations: 0 / 0.6841 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.1669, allocations: 0 / 0.6841 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.562e-05/0.167, allocations: 8 kB / 0.6841 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.167, allocations: 0 / 0.6841 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.321e-05/0.167, allocations: 7.984 kB / 0.6841 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.167, allocations: 4.031 kB / 0.6841 GB, free: 12.12 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 6.896e-05/0.1671, allocations: 118.4 kB / 0.6842 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.108e-05/0.1671, allocations: 0 / 0.6842 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002149/0.1674, allocations: 68.77 kB / 0.6843 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1674, allocations: 4 kB / 0.6843 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.1674, allocations: 0 / 0.6843 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.1674, allocations: 3.938 kB / 0.6843 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.1675, allocations: 161.6 kB / 0.6845 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1676, allocations: 0 / 0.6845 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.347e-05/0.1676, allocations: 11.98 kB / 0.6845 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.1676, allocations: 4 kB / 0.6845 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/0.1676, allocations: 0 / 0.6845 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.1676, allocations: 0 / 0.6845 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.1676, allocations: 0 / 0.6845 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.1679, allocations: 167.4 kB / 0.6846 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.452e-05/0.1679, allocations: 81.05 kB / 0.6847 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.1679, allocations: 0 / 0.6847 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.318e-05/0.168, allocations: 15.98 kB / 0.6847 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.121e-05/0.1681, allocations: 0 / 0.6847 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-06/0.1681, allocations: 4 kB / 0.6847 GB, free: 11.39 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.27e-05/0.1681, allocations: 79.27 kB / 0.6848 GB, free: 11.31 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1681, allocations: 4 kB / 0.6848 GB, free: 11.31 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002513/0.1684, allocations: 28.03 kB / 0.6849 GB, free: 11.28 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.0006087/0.169, allocations: 0.7385 MB / 0.6856 GB, free: 10.52 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000191/0.1692, allocations: 39.95 kB / 0.6856 GB, free: 10.48 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1692, allocations: 0 / 0.6856 GB, free: 10.48 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.105e-05/0.1693, allocations: 23.98 kB / 0.6856 GB, free: 10.45 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.1695, allocations: 4 kB / 0.6856 GB, free: 10.45 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000368/0.1699, allocations: 151.2 kB / 0.6858 GB, free: 10.26 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002023/0.1701, allocations: 0.6806 MB / 0.6864 GB, free: 9.555 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.429e-05/0.1701, allocations: 11.89 kB / 0.6865 GB, free: 9.543 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.555e-05/0.1702, allocations: 7.438 kB / 0.6865 GB, free: 9.535 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1702, allocations: 0 / 0.6865 GB, free: 9.535 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01153/0.1817, allocations: 1.602 MB / 0.688 GB, free: 8.047 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001983/0.1819, allocations: 198.3 kB / 0.6882 GB, free: 7.793 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.663/1.845, allocations: 0 / 0.6882 GB, free: 7.793 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)