Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.Examples.BesselY1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselY1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_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.9836/0.9836, 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.001245/0.001245, allocations: 183.7 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.772/1.772, allocations: 221.3 MB / 441.4 MB, free: 4.648 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.0008825/0.0008826, allocations: 99.38 kB / 0.5124 GB, free: 24.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001874/0.001874, allocations: 270.5 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.184e-05/4.185e-05, allocations: 4 kB / 0.6835 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5328/0.5329, allocations: 82.78 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1343/0.6672, allocations: 109.1 MB / 0.8709 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/0.6675, allocations: 71.97 kB / 0.871 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.007544/0.6751, allocations: 2.465 MB / 0.8734 GB, free: 12.9 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.714e-06/0.6751, allocations: 4 kB / 0.8734 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.6751, allocations: 0 / 0.8734 GB, free: 12.89 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.0004133/0.6756, allocations: 366.4 kB / 0.8738 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/0.6756, allocations: 12.03 kB / 0.8738 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.484e-05/0.6757, allocations: 34.55 kB / 0.8738 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.597e-05/0.6757, allocations: 0 / 0.8738 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.6759, allocations: 170.9 kB / 0.874 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.6759, allocations: 11.95 kB / 0.874 GB, free: 12.22 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.6759, allocations: 0 / 0.874 GB, free: 12.22 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.676, allocations: 37.69 kB / 0.874 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.6761, allocations: 0 / 0.874 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.6761, allocations: 4 kB / 0.874 GB, free: 12.17 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.6761, allocations: 0 / 0.874 GB, free: 12.17 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.587e-05/0.6761, allocations: 8 kB / 0.874 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004323/0.6766, allocations: 268.8 kB / 0.8743 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 6.468e-05/0.6767, allocations: 30.61 kB / 0.8743 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.472e-05/0.6767, allocations: 12.92 kB / 0.8743 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006422/0.6773, allocations: 457.5 kB / 0.8748 GB, free: 11.26 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.6774, allocations: 30.56 kB / 0.8748 GB, free: 11.22 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.263e-06/0.6774, allocations: 3.938 kB / 0.8748 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0001602/0.6776, allocations: 45.62 kB / 0.8748 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.6776, allocations: 51.41 kB / 0.8749 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.112e-05/0.6777, allocations: 93.03 kB / 0.875 GB, free: 11 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.6777, allocations: 29.7 kB / 0.875 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.377e-05/0.6778, allocations: 88.08 kB / 0.8751 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.6778, allocations: 3.906 kB / 0.8751 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-06/0.6778, allocations: 0 / 0.8751 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.6779, allocations: 318.8 kB / 0.8754 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.813e-05/0.678, allocations: 8 kB / 0.8754 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.279e-05/0.678, allocations: 4 kB / 0.8754 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.212e-05/0.678, allocations: 12.06 kB / 0.8754 GB, free: 10.53 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.678, allocations: 0 / 0.8754 GB, free: 10.53 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.676e-05/0.6781, allocations: 37.7 kB / 0.8754 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.6781, allocations: 8 kB / 0.8755 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.6781, allocations: 0 / 0.8755 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.6782, allocations: 0 / 0.8755 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.809e-05/0.6783, allocations: 19.86 kB / 0.8755 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.6783, allocations: 0 / 0.8755 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.218e-05/0.6783, allocations: 16.02 kB / 0.8755 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.6783, allocations: 0 / 0.8755 GB, free: 10.45 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.531e-05/0.6784, allocations: 104.9 kB / 0.8756 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.28e-05/0.6785, allocations: 3.906 kB / 0.8756 GB, free: 10.33 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001208/0.6786, allocations: 48.81 kB / 0.8756 GB, free: 10.28 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.6786, allocations: 0 / 0.8756 GB, free: 10.28 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.6786, allocations: 0 / 0.8756 GB, free: 10.28 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.6786, allocations: 0 / 0.8756 GB, free: 10.28 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.6788, allocations: 165.6 kB / 0.8758 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.6788, allocations: 192 / 0.8758 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.489e-05/0.6789, allocations: 8 kB / 0.8758 GB, free: 10.06 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.6789, allocations: 7.938 kB / 0.8758 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.6789, allocations: 7.984 kB / 0.8758 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.6789, allocations: 0 / 0.8758 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.6789, allocations: 3.984 kB / 0.8758 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.679, allocations: 135.6 kB / 0.876 GB, free: 9.895 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.242e-05/0.6791, allocations: 81.06 kB / 0.876 GB, free: 9.797 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.6791, allocations: 3.938 kB / 0.876 GB, free: 9.793 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.094e-05/0.6792, allocations: 11.98 kB / 0.876 GB, free: 9.781 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.842e-05/0.6792, allocations: 0 / 0.876 GB, free: 9.781 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.6792, allocations: 0 / 0.876 GB, free: 9.781 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.276e-05/0.6793, allocations: 87.27 kB / 0.8761 GB, free: 9.695 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6793, allocations: 0 / 0.8761 GB, free: 9.695 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002728/0.6796, allocations: 47.97 kB / 0.8762 GB, free: 9.648 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.0006523/0.6802, allocations: 0.7358 MB / 0.8769 GB, free: 8.887 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 7.807e-05/0.6803, allocations: 12 kB / 0.8769 GB, free: 8.875 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.6803, allocations: 0 / 0.8769 GB, free: 8.875 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.373e-05/0.6804, allocations: 11.94 kB / 0.8769 GB, free: 8.863 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001695/0.6805, allocations: 12.06 kB / 0.8769 GB, free: 8.852 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003676/0.6809, allocations: 116.6 kB / 0.877 GB, free: 8.703 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.6812, allocations: 0.6809 MB / 0.8777 GB, free: 7.996 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.653e-05/0.6812, allocations: 6.953 kB / 0.8777 GB, free: 7.992 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.048e-05/0.6813, allocations: 7.438 kB / 0.8777 GB, free: 7.984 MB / 0.5417 GB Notification: Performance of SimCode: time 3.91e-07/0.6813, allocations: 0 / 0.8777 GB, free: 7.984 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01258/0.6939, allocations: 1.46 MB / 0.8791 GB, free: 6.656 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001631/0.6941, allocations: 153.1 kB / 0.8793 GB, free: 6.434 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.645/2.34, allocations: 0 / 0.8793 GB, free: 6.434 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe 2>&1)