Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.Functions.Examples.BesselY0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_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.001088/0.001088, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.3/1.3, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00219/0.002191, allocations: 290.9 kB / 290.7 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9266/0.9266, allocations: 169.3 MB / 0.4982 GB, free: 13.86 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001809, allocations: 95.84 kB / 0.5954 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1414, allocations: 86.98 MB / 0.6803 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselY0): time 0.001783/0.1432, allocations: 0.5725 MB / 0.6809 GB, free: 15.99 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005517/0.1437, allocations: 286.2 kB / 0.6811 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.423e-05/0.1438, allocations: 0 / 0.6811 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.222e-05/0.1438, allocations: 3.938 kB / 0.6811 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.248e-06/0.1438, allocations: 0 / 0.6811 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004416/0.1443, allocations: 105.7 kB / 0.6812 GB, free: 15.61 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.095e-05/0.1443, allocations: 0 / 0.6812 GB, free: 15.61 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.047e-05/0.1444, allocations: 11.97 kB / 0.6812 GB, free: 15.59 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.236e-05/0.1444, allocations: 0 / 0.6812 GB, free: 15.59 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.574e-05/0.1444, allocations: 0 / 0.6812 GB, free: 15.59 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.741e-06/0.1444, allocations: 0.625 kB / 0.6812 GB, free: 15.59 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002386/0.1447, allocations: 115.8 kB / 0.6814 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.235e-06/0.1447, allocations: 5.703 kB / 0.6814 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.551e-05/0.1447, allocations: 4 kB / 0.6814 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.1448, allocations: 63.89 kB / 0.6814 GB, free: 15.41 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1448, allocations: 0 / 0.6814 GB, free: 15.41 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1449, allocations: 3.938 kB / 0.6814 GB, free: 15.41 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.1449, allocations: 0.6562 kB / 0.6814 GB, free: 15.41 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002702/0.1451, allocations: 332.3 kB / 0.6817 GB, free: 15.03 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.1452, allocations: 8.906 kB / 0.6818 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.872e-05/0.1452, allocations: 30.75 kB / 0.6818 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.03e-05/0.1452, allocations: 5.562 kB / 0.6818 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.763e-05/0.1453, allocations: 160.4 kB / 0.6819 GB, free: 14.79 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.288e-06/0.1453, allocations: 5.625 kB / 0.6819 GB, free: 14.78 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.641e-06/0.1454, allocations: 384 / 0.6819 GB, free: 14.78 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.197e-05/0.1454, allocations: 27.02 kB / 0.682 GB, free: 14.75 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.1454, allocations: 3.938 kB / 0.682 GB, free: 14.75 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.1455, allocations: 8 kB / 0.682 GB, free: 14.74 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1455, allocations: 0 / 0.682 GB, free: 14.74 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.892e-05/0.1455, allocations: 3.938 kB / 0.682 GB, free: 14.73 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001127/0.1456, allocations: 149.7 kB / 0.6821 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.211e-05/0.1456, allocations: 18.61 kB / 0.6822 GB, free: 14.51 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.405e-05/0.1457, allocations: 4.859 kB / 0.6822 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006901/0.1464, allocations: 461.5 kB / 0.6826 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.1464, allocations: 34.56 kB / 0.6826 GB, free: 13.92 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.1464, allocations: 0 / 0.6826 GB, free: 13.92 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001172/0.1465, allocations: 37.58 kB / 0.6827 GB, free: 13.88 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.1466, allocations: 51.41 kB / 0.6827 GB, free: 13.81 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.805e-05/0.1466, allocations: 97.98 kB / 0.6828 GB, free: 13.71 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.929e-06/0.1466, allocations: 25.7 kB / 0.6828 GB, free: 13.68 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.059e-05/0.1466, allocations: 80.14 kB / 0.6829 GB, free: 13.59 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.1467, allocations: 288 / 0.6829 GB, free: 13.59 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.746e-05/0.1467, allocations: 17.7 kB / 0.6829 GB, free: 13.57 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.028e-05/0.1468, allocations: 310.8 kB / 0.6832 GB, free: 13.26 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.786e-06/0.1468, allocations: 0 / 0.6832 GB, free: 13.26 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.785e-06/0.1468, allocations: 4 kB / 0.6832 GB, free: 13.25 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.629e-05/0.1468, allocations: 12.92 kB / 0.6832 GB, free: 13.24 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1468, allocations: 3.938 kB / 0.6832 GB, free: 13.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.367e-05/0.1469, allocations: 37.64 kB / 0.6833 GB, free: 13.19 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.1469, allocations: 4 kB / 0.6833 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1469, allocations: 3.938 kB / 0.6833 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.1469, allocations: 0 / 0.6833 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.63e-05/0.147, allocations: 3.984 kB / 0.6833 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.147, allocations: 4 kB / 0.6833 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.243e-05/0.147, allocations: 7.844 kB / 0.6833 GB, free: 13.17 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.147, allocations: 4.031 kB / 0.6833 GB, free: 13.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 (1): * Single equations (assignments): 1 * 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.812e-05/0.1471, allocations: 106.5 kB / 0.6834 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.993e-06/0.1471, allocations: 0 / 0.6834 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.519e-05/0.1472, allocations: 44.75 kB / 0.6834 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1472, allocations: 7.875 kB / 0.6835 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1472, allocations: 4 kB / 0.6835 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1472, allocations: 0 / 0.6835 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.695e-05/0.1473, allocations: 141.7 kB / 0.6836 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1473, allocations: 7.984 kB / 0.6836 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.161e-05/0.1473, allocations: 4.031 kB / 0.6836 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1473, allocations: 4 kB / 0.6836 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.451e-06/0.1473, allocations: 3.938 kB / 0.6836 GB, free: 12.78 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1473, allocations: 0 / 0.6836 GB, free: 12.78 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1473, allocations: 0 / 0.6836 GB, free: 12.78 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.535e-05/0.1474, allocations: 57.12 kB / 0.6837 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.019e-05/0.1474, allocations: 81.11 kB / 0.6837 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.789e-06/0.1475, allocations: 3.969 kB / 0.6837 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.603e-06/0.1475, allocations: 4 kB / 0.6838 GB, free: 12.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.518e-06/0.1475, allocations: 0 / 0.6838 GB, free: 12.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.1475, allocations: 3.984 kB / 0.6838 GB, free: 12.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.011e-05/0.1475, allocations: 75.28 kB / 0.6838 GB, free: 12.52 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.244e-06/0.1475, allocations: 0 / 0.6838 GB, free: 12.52 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002098/0.1477, allocations: 31.94 kB / 0.6839 GB, free: 12.49 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 (1): * Single equations (assignments): 1 * 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.0004365/0.1482, allocations: 0.6319 MB / 0.6845 GB, free: 11.83 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.066e-05/0.1483, allocations: 4.031 kB / 0.6845 GB, free: 11.82 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1483, allocations: 4.062 kB / 0.6845 GB, free: 11.82 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.247e-06/0.1483, allocations: 7.938 kB / 0.6845 GB, free: 11.81 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001203/0.1484, allocations: 5.891 kB / 0.6845 GB, free: 11.81 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002843/0.1487, allocations: 114.7 kB / 0.6846 GB, free: 11.66 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000194/0.1489, allocations: 0.669 MB / 0.6853 GB, free: 10.96 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.037e-06/0.1489, allocations: 0 / 0.6853 GB, free: 10.96 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.508e-05/0.1489, allocations: 11.38 kB / 0.6853 GB, free: 10.95 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1489, allocations: 0 / 0.6853 GB, free: 10.95 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.297/0.446, allocations: 1.375 MB / 0.6866 GB, free: 9.66 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.477/7.923, allocations: 7.875 kB / 0.6866 GB, free: 9.652 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselY0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1)