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/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.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/BuildingSystems 2.0.0-master/package.mo): time 0.8667/0.8667, allocations: 141.7 MB / 154.3 MB, free: 15.5 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 188.1 kB / 187.3 MB, free: 11.89 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.518/1.518, allocations: 221.3 MB / 441.4 MB, free: 4.625 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.001042/0.001042, allocations: 102.8 kB / 0.5124 GB, free: 24.18 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001864/0.001864, allocations: 270.6 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.77e-05/4.772e-05, allocations: 4 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.52/0.5201, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.135/0.6552, allocations: 108.3 MB / 0.8701 GB, free: 276 kB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/0.6555, allocations: 79.94 kB / 0.8702 GB, free: 196 kB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.006473/0.662, allocations: 2.105 MB / 0.8723 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6621, allocations: 0 / 0.8723 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.6621, allocations: 0 / 0.8723 GB, free: 14.09 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.000339/0.6624, allocations: 342.4 kB / 0.8726 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.026e-05/0.6625, allocations: 8.031 kB / 0.8726 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.355e-05/0.6626, allocations: 34.56 kB / 0.8726 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.033e-05/0.6626, allocations: 4 kB / 0.8726 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.6627, allocations: 159.1 kB / 0.8728 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.6628, allocations: 7.953 kB / 0.8728 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.6628, allocations: 4 kB / 0.8728 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.6629, allocations: 25.7 kB / 0.8728 GB, free: 13.42 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.6629, allocations: 4 kB / 0.8728 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.6629, allocations: 3.984 kB / 0.8728 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.663, allocations: 3.984 kB / 0.8728 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.499e-05/0.663, allocations: 0 / 0.8728 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001773/0.6632, allocations: 145.6 kB / 0.873 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 5.448e-05/0.6632, allocations: 26.56 kB / 0.873 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.907e-05/0.6633, allocations: 8.859 kB / 0.873 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006696/0.6639, allocations: 441.5 kB / 0.8734 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.664, allocations: 38.56 kB / 0.8735 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=1): time 1.292e-06/0.664, allocations: 0 / 0.8735 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1): time 0.0001489/0.6642, allocations: 37.62 kB / 0.8735 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/0.6642, allocations: 55.41 kB / 0.8736 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.005e-05/0.6643, allocations: 85 kB / 0.8736 GB, free: 12.4 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.6643, allocations: 25.7 kB / 0.8737 GB, free: 12.37 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.547e-05/0.6643, allocations: 80.14 kB / 0.8737 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.926e-05/0.6644, allocations: 0 / 0.8737 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-06/0.6644, allocations: 32 / 0.8737 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.6645, allocations: 314.8 kB / 0.874 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.15e-05/0.6645, allocations: 0 / 0.874 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.835e-06/0.6645, allocations: 7.938 kB / 0.8741 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.274e-05/0.6646, allocations: 4 kB / 0.8741 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.6646, allocations: 0 / 0.8741 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.547e-05/0.6647, allocations: 33.69 kB / 0.8741 GB, free: 11.92 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.6647, allocations: 11.95 kB / 0.8741 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.6647, allocations: 0 / 0.8741 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.6647, allocations: 4.094 kB / 0.8741 GB, free: 11.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.894e-05/0.6648, allocations: 3.938 kB / 0.8741 GB, free: 11.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.6648, allocations: 0 / 0.8741 GB, free: 11.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.307e-05/0.6648, allocations: 4 kB / 0.8741 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/0.6648, allocations: 3.938 kB / 0.8741 GB, free: 11.89 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 () * 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 7.768e-05/0.6649, allocations: 101 kB / 0.8742 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.054e-05/0.6649, allocations: 3.906 kB / 0.8742 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001031/0.665, allocations: 40.77 kB / 0.8743 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.665, allocations: 4.031 kB / 0.8743 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.6651, allocations: 0 / 0.8743 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.6651, allocations: 4 kB / 0.8743 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.6652, allocations: 145.7 kB / 0.8744 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.6652, allocations: 0 / 0.8744 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.433e-05/0.6652, allocations: 3.984 kB / 0.8744 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.6652, allocations: 0 / 0.8744 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.6653, allocations: 4 kB / 0.8744 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.6653, allocations: 3.953 kB / 0.8744 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.6653, allocations: 3.938 kB / 0.8744 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.134e-05/0.6654, allocations: 57.14 kB / 0.8745 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.933e-05/0.6654, allocations: 77.11 kB / 0.8745 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.6654, allocations: 7.984 kB / 0.8745 GB, free: 11.35 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.292e-06/0.6654, allocations: 0 / 0.8745 GB, free: 11.35 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.031e-05/0.6655, allocations: 7.953 kB / 0.8746 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.6655, allocations: 0 / 0.8746 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.985e-05/0.6655, allocations: 75.28 kB / 0.8746 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6655, allocations: 0 / 0.8746 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000259/0.6658, allocations: 43.97 kB / 0.8747 GB, free: 11.22 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 () * 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.0006374/0.6664, allocations: 0.6514 MB / 0.8753 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 6.57e-05/0.6665, allocations: 4 kB / 0.8753 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.6665, allocations: 0 / 0.8753 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 8.526e-06/0.6665, allocations: 7.938 kB / 0.8753 GB, free: 10.53 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001026/0.6666, allocations: 8.078 kB / 0.8753 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000336/0.667, allocations: 106.5 kB / 0.8754 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.6673, allocations: 0.6692 MB / 0.8761 GB, free: 9.688 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.739e-05/0.6673, allocations: 3.203 kB / 0.8761 GB, free: 9.688 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.244e-05/0.6673, allocations: 11.44 kB / 0.8761 GB, free: 9.676 MB / 0.5417 GB Notification: Performance of SimCode: time 4.3e-07/0.6674, allocations: 0 / 0.8761 GB, free: 9.676 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01459/0.682, allocations: 1.168 MB / 0.8772 GB, free: 8.656 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002482/0.6823, allocations: 166.6 kB / 0.8774 GB, free: 8.43 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.592/2.274, allocations: 0 / 0.8774 GB, free: 8.43 MB / 0.5417 GB (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/linux/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)