Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.BesselY1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.BesselY1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8876/0.8876, allocations: 143.3 MB / 158.3 MB, free: 5.863 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 185 kB / 191.5 MB, free: 5.785 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.567/1.567, allocations: 223.2 MB / 447.7 MB, free: 6.609 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009337/0.0009337, allocations: 96.23 kB / 0.5187 GB, free: 2.961 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001694/0.001694, allocations: 271.2 kB / 0.6005 GB, free: 49 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000404/0.000404, allocations: 16 kB / 0.693 GB, free: 2.219 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.383/0.3834, allocations: 82.78 MB / 0.7738 GB, free: 26.21 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1642/0.5477, allocations: 108.4 MB / 0.8797 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003363/0.5481, allocations: 83.89 kB / 0.8798 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.0121/0.5603, allocations: 2.19 MB / 0.8819 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.856e-06/0.5603, allocations: 0 / 0.8819 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.5603, allocations: 0 / 0.8819 GB, free: 11.36 MB / 0.5417 GB 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.0003921/0.5607, allocations: 347.3 kB / 0.8822 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/0.5608, allocations: 8.031 kB / 0.8823 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.69e-05/0.5609, allocations: 34.5 kB / 0.8823 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.587e-05/0.5609, allocations: 4 kB / 0.8823 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.5611, allocations: 163.1 kB / 0.8824 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.5611, allocations: 3.953 kB / 0.8824 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.176e-06/0.5611, allocations: 0 / 0.8824 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.5612, allocations: 29.7 kB / 0.8825 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.5612, allocations: 0 / 0.8825 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.5613, allocations: 8 kB / 0.8825 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.5613, allocations: 0 / 0.8825 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.855e-05/0.5613, allocations: 3.984 kB / 0.8825 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001769/0.5615, allocations: 141.7 kB / 0.8826 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 6.1e-05/0.5616, allocations: 30.5 kB / 0.8827 GB, free: 10.44 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001032/0.5626, allocations: 453.5 kB / 0.8831 GB, free: 9.902 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.5627, allocations: 38.56 kB / 0.8831 GB, free: 9.855 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=1): time 1.884e-06/0.5627, allocations: 3.938 kB / 0.8831 GB, free: 9.852 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1): time 0.0001628/0.5629, allocations: 37.64 kB / 0.8832 GB, free: 9.809 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.563, allocations: 55.34 kB / 0.8832 GB, free: 9.742 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.61e-05/0.563, allocations: 85 kB / 0.8833 GB, free: 9.652 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.5631, allocations: 25.7 kB / 0.8833 GB, free: 9.621 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.272e-05/0.5631, allocations: 80.14 kB / 0.8834 GB, free: 9.539 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/0.5632, allocations: 0 / 0.8834 GB, free: 9.539 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-06/0.5632, allocations: 8.125 kB / 0.8834 GB, free: 9.531 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.5633, allocations: 310.8 kB / 0.8837 GB, free: 9.219 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.262e-05/0.5634, allocations: 0 / 0.8837 GB, free: 9.219 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.184e-05/0.5634, allocations: 3.984 kB / 0.8837 GB, free: 9.215 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.522e-05/0.5634, allocations: 4 kB / 0.8837 GB, free: 9.211 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5634, allocations: 0 / 0.8837 GB, free: 9.211 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.099e-05/0.5635, allocations: 33.7 kB / 0.8837 GB, free: 9.172 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.5636, allocations: 9.516 kB / 0.8837 GB, free: 9.164 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.5636, allocations: 4.094 kB / 0.8838 GB, free: 9.16 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.5636, allocations: 0 / 0.8838 GB, free: 9.16 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.479e-05/0.5637, allocations: 4 kB / 0.8838 GB, free: 9.156 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.5637, allocations: 0 / 0.8838 GB, free: 9.156 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.745e-05/0.5637, allocations: 3.938 kB / 0.8838 GB, free: 9.152 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.5638, allocations: 0 / 0.8838 GB, free: 9.152 MB / 0.5417 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.808e-05/0.5639, allocations: 114.4 kB / 0.8839 GB, free: 9.031 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.074e-05/0.5639, allocations: 0 / 0.8839 GB, free: 9.031 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001208/0.564, allocations: 44.69 kB / 0.8839 GB, free: 8.98 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.564, allocations: 4.031 kB / 0.8839 GB, free: 8.977 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.5641, allocations: 0 / 0.8839 GB, free: 8.977 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.5641, allocations: 0 / 0.8839 GB, free: 8.977 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.5642, allocations: 145.7 kB / 0.8841 GB, free: 8.785 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.5642, allocations: 0 / 0.8841 GB, free: 8.785 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.408e-05/0.5643, allocations: 4 kB / 0.8841 GB, free: 8.781 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.5643, allocations: 0 / 0.8841 GB, free: 8.781 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.5643, allocations: 0 / 0.8841 GB, free: 8.781 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/0.5643, allocations: 3.953 kB / 0.8841 GB, free: 8.777 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.5643, allocations: 0 / 0.8841 GB, free: 8.777 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001064/0.5644, allocations: 69.06 kB / 0.8841 GB, free: 8.691 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.39e-05/0.5645, allocations: 77.11 kB / 0.8842 GB, free: 8.598 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.5645, allocations: 3.938 kB / 0.8842 GB, free: 8.594 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.426e-05/0.5646, allocations: 0 / 0.8842 GB, free: 8.594 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.803e-05/0.5646, allocations: 3.953 kB / 0.8842 GB, free: 8.59 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.5646, allocations: 7.984 kB / 0.8842 GB, free: 8.582 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.698e-05/0.5647, allocations: 75.28 kB / 0.8843 GB, free: 8.508 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2e-07/0.5647, allocations: 32 / 0.8843 GB, free: 8.508 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004381/0.5651, allocations: 47.86 kB / 0.8843 GB, free: 8.461 MB / 0.5417 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008344/0.566, allocations: 0.656 MB / 0.885 GB, free: 7.781 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 6.41e-05/0.5661, allocations: 4 kB / 0.885 GB, free: 7.777 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.5661, allocations: 0 / 0.885 GB, free: 7.777 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.813e-05/0.5661, allocations: 4 kB / 0.885 GB, free: 7.773 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001364/0.5663, allocations: 10.83 kB / 0.885 GB, free: 7.766 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000468/0.5667, allocations: 124.3 kB / 0.8851 GB, free: 7.602 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.567, allocations: 0.6731 MB / 0.8858 GB, free: 6.902 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.577e-05/0.5671, allocations: 0 / 0.8858 GB, free: 6.902 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.917e-05/0.5671, allocations: 11.44 kB / 0.8858 GB, free: 6.891 MB / 0.5417 GB Notification: Performance of SimCode: time 3.81e-07/0.5671, allocations: 0 / 0.8858 GB, free: 6.891 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01625/0.5834, allocations: 1.181 MB / 0.8869 GB, free: 5.848 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003387/0.5838, allocations: 204.4 kB / 0.8871 GB, free: 5.598 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.435/2.019, allocations: 0 / 0.8871 GB, free: 5.598 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselY1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1)