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/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.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/BuildingSystems 2.0.0-master/package.mo): time 0.9733/0.9733, allocations: 141.7 MB / 154.3 MB, free: 15.48 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.001221/0.001221, allocations: 179.8 kB / 187.3 MB, free: 11.88 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.722/1.722, allocations: 221.3 MB / 441.4 MB, free: 4.582 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.0009965/0.0009966, allocations: 95.81 kB / 0.5124 GB, free: 24.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001919/0.001919, allocations: 278.4 kB / 0.5939 GB, free: 7.949 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.348e-05/4.375e-05, allocations: 4 kB / 0.6835 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5347/0.5348, allocations: 82.75 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1324/0.6673, allocations: 109.1 MB / 0.8709 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002578/0.6676, allocations: 71.95 kB / 0.8709 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.007257/0.6749, allocations: 2.392 MB / 0.8733 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.854e-06/0.6749, allocations: 0 / 0.8733 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.6749, allocations: 0 / 0.8733 GB, free: 13.02 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004365/0.6754, allocations: 370.4 kB / 0.8736 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.6754, allocations: 8.031 kB / 0.8736 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.724e-05/0.6755, allocations: 34.56 kB / 0.8737 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.389e-05/0.6755, allocations: 4 kB / 0.8737 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.6757, allocations: 171 kB / 0.8738 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.6757, allocations: 7.891 kB / 0.8738 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.6757, allocations: 0 / 0.8738 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.985e-05/0.6758, allocations: 37.7 kB / 0.8739 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.6758, allocations: 0 / 0.8739 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.6759, allocations: 3.938 kB / 0.8739 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.6759, allocations: 0 / 0.8739 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.425e-05/0.6759, allocations: 12 kB / 0.8739 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004366/0.6764, allocations: 272.9 kB / 0.8741 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 6.906e-05/0.6764, allocations: 26.52 kB / 0.8742 GB, free: 11.94 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.604e-05/0.6765, allocations: 8.922 kB / 0.8742 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006194/0.6771, allocations: 449.5 kB / 0.8746 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.6771, allocations: 34.55 kB / 0.8746 GB, free: 11.35 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.6771, allocations: 0 / 0.8746 GB, free: 11.35 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.000156/0.6773, allocations: 41.7 kB / 0.8747 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.6773, allocations: 55.44 kB / 0.8747 GB, free: 11.24 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.996e-05/0.6774, allocations: 96.94 kB / 0.8748 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.6775, allocations: 25.7 kB / 0.8748 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.178e-05/0.6775, allocations: 80.14 kB / 0.8749 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.6775, allocations: 15.83 kB / 0.8749 GB, free: 11.01 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-06/0.6775, allocations: 7.938 kB / 0.8749 GB, free: 11 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.6777, allocations: 314.8 kB / 0.8752 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.681e-05/0.6777, allocations: 4 kB / 0.8752 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.375e-05/0.6777, allocations: 8 kB / 0.8753 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.619e-05/0.6778, allocations: 4.062 kB / 0.8753 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.6778, allocations: 0 / 0.8753 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.974e-05/0.6778, allocations: 45.69 kB / 0.8753 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.6779, allocations: 4 kB / 0.8753 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.6779, allocations: 0 / 0.8753 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.6779, allocations: 0 / 0.8753 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.898e-05/0.678, allocations: 12 kB / 0.8753 GB, free: 10.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.678, allocations: 0 / 0.8753 GB, free: 10.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.125e-05/0.6781, allocations: 12.02 kB / 0.8753 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.6781, allocations: 3.938 kB / 0.8753 GB, free: 10.59 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 (2): * Single equations (assignments): 2 * 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.388e-05/0.6782, allocations: 108.9 kB / 0.8754 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.248e-05/0.6782, allocations: 3.906 kB / 0.8754 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001087/0.6783, allocations: 51.39 kB / 0.8755 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.6783, allocations: 0 / 0.8755 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.6783, allocations: 4 kB / 0.8755 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.6783, allocations: 4.031 kB / 0.8755 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.6785, allocations: 161.6 kB / 0.8756 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.6785, allocations: 0 / 0.8756 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.236e-05/0.6786, allocations: 11.98 kB / 0.8757 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.6786, allocations: 0 / 0.8757 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.6786, allocations: 0 / 0.8757 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.6786, allocations: 4 kB / 0.8757 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.6786, allocations: 0 / 0.8757 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001159/0.6787, allocations: 143.4 kB / 0.8758 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.821e-05/0.6788, allocations: 93.05 kB / 0.8759 GB, free: 9.922 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.6788, allocations: 0 / 0.8759 GB, free: 9.922 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.562e-05/0.6789, allocations: 4 kB / 0.8759 GB, free: 9.918 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.164e-05/0.6789, allocations: 7.984 kB / 0.8759 GB, free: 9.91 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.6789, allocations: 0 / 0.8759 GB, free: 9.91 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.696e-05/0.679, allocations: 79.28 kB / 0.876 GB, free: 9.832 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.679, allocations: 4.031 kB / 0.876 GB, free: 9.828 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002652/0.6793, allocations: 39.94 kB / 0.876 GB, free: 9.789 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 (2): * Single equations (assignments): 2 * 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.0006144/0.6799, allocations: 0.736 MB / 0.8767 GB, free: 9.027 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 7.771e-05/0.68, allocations: 12 kB / 0.8767 GB, free: 9.016 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.68, allocations: 0 / 0.8767 GB, free: 9.016 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.308e-05/0.68, allocations: 8 kB / 0.8768 GB, free: 9.008 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001645/0.6802, allocations: 4.125 kB / 0.8768 GB, free: 9.004 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003939/0.6806, allocations: 130.3 kB / 0.8769 GB, free: 8.84 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.6809, allocations: 0.6809 MB / 0.8775 GB, free: 8.133 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.304e-05/0.6809, allocations: 0 / 0.8775 GB, free: 8.133 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.326e-05/0.681, allocations: 11.44 kB / 0.8776 GB, free: 8.121 MB / 0.5417 GB Notification: Performance of SimCode: time 2.2e-07/0.681, allocations: 4 kB / 0.8776 GB, free: 8.117 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01345/0.6944, allocations: 1.451 MB / 0.879 GB, free: 6.801 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/0.6947, allocations: 159.6 kB / 0.8791 GB, free: 6.57 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.578/2.272, allocations: 0 / 0.8791 GB, free: 6.57 MB / 0.5417 GB (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/linux/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)