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.8891/0.8891, allocations: 141.8 MB / 149.3 MB, free: 9.211 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.001147/0.001147, allocations: 180.9 kB / 182.2 MB, free: 9.441 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.68/1.68, allocations: 221.5 MB / 436.4 MB, free: 13.36 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.001074/0.001074, allocations: 91.86 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002511/0.002511, allocations: 278.8 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.551e-05/2.552e-05, allocations: 4 kB / 0.6766 GB, free: 12.74 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5418/0.5418, allocations: 82.77 MB / 0.7575 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1613/0.7032, allocations: 108.4 MB / 0.8633 GB, free: 3.488 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/0.7036, allocations: 71.95 kB / 0.8634 GB, free: 3.418 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.00737/0.711, allocations: 2.392 MB / 0.8657 GB, free: 1.031 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.655e-06/0.711, allocations: 0 / 0.8657 GB, free: 1.031 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.7111, allocations: 4 kB / 0.8657 GB, free: 1.027 MB / 0.5261 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.0004389/0.7115, allocations: 358.4 kB / 0.866 GB, free: 0.6328 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/0.7116, allocations: 16.02 kB / 0.8661 GB, free: 0.6172 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.437e-05/0.7116, allocations: 4 kB / 0.8661 GB, free: 0.6133 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.7118, allocations: 163 kB / 0.8662 GB, free: 424 kB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.7118, allocations: 7.953 kB / 0.8662 GB, free: 416 kB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.7118, allocations: 0 / 0.8662 GB, free: 416 kB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.174e-05/0.7119, allocations: 8 kB / 0.8662 GB, free: 408 kB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.841e-05/0.712, allocations: 45.61 kB / 0.8663 GB, free: 356 kB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.712, allocations: 0 / 0.8663 GB, free: 356 kB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.712, allocations: 4 kB / 0.8663 GB, free: 352 kB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.712, allocations: 0 / 0.8663 GB, free: 352 kB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004174/0.7124, allocations: 241.4 kB / 0.8665 GB, free: 72 kB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.28e-05/0.7125, allocations: 26.58 kB / 0.8665 GB, free: 36 kB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.468e-05/0.7125, allocations: 8.922 kB / 0.8665 GB, free: 24 kB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006075/0.7132, allocations: 453.5 kB / 0.867 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.7132, allocations: 34.5 kB / 0.867 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.7132, allocations: 0 / 0.867 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0002215/0.7134, allocations: 41.64 kB / 0.8671 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.7135, allocations: 51.41 kB / 0.8671 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.603e-05/0.7136, allocations: 93 kB / 0.8672 GB, free: 15.24 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.7136, allocations: 25.7 kB / 0.8672 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.361e-05/0.7136, allocations: 88.12 kB / 0.8673 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.7137, allocations: 11.88 kB / 0.8673 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-06/0.7137, allocations: 0 / 0.8673 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.7138, allocations: 314.8 kB / 0.8676 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.539e-05/0.7138, allocations: 4 kB / 0.8676 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.665e-05/0.7139, allocations: 8 kB / 0.8676 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.026e-05/0.7139, allocations: 3.938 kB / 0.8676 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.7139, allocations: 0 / 0.8676 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.158e-05/0.714, allocations: 53.58 kB / 0.8677 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.714, allocations: 8.094 kB / 0.8677 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-06/0.714, allocations: 4 kB / 0.8677 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.7141, allocations: 0 / 0.8677 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.945e-05/0.7142, allocations: 11.98 kB / 0.8677 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.7142, allocations: 4 kB / 0.8677 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.615e-05/0.7142, allocations: 4 kB / 0.8677 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.7142, allocations: 0 / 0.8677 GB, free: 14.68 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 8.624e-05/0.7143, allocations: 105 kB / 0.8678 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.899e-05/0.7144, allocations: 53.55 kB / 0.8679 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.809e-05/0.7145, allocations: 0 / 0.8679 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001131/0.7146, allocations: 49.38 kB / 0.8679 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.7146, allocations: 4 kB / 0.8679 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.7146, allocations: 0 / 0.8679 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.7146, allocations: 0 / 0.8679 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.7147, allocations: 134.2 kB / 0.868 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.7148, allocations: 3.953 kB / 0.868 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.452e-05/0.7148, allocations: 16.05 kB / 0.8681 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.7148, allocations: 0 / 0.8681 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.7148, allocations: 0 / 0.8681 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.7149, allocations: 0 / 0.8681 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.7149, allocations: 0 / 0.8681 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000141/0.715, allocations: 135.5 kB / 0.8682 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.203e-05/0.7151, allocations: 88.91 kB / 0.8683 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.7151, allocations: 4.031 kB / 0.8683 GB, free: 14.01 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.869e-05/0.7152, allocations: 11.98 kB / 0.8683 GB, free: 14 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.7152, allocations: 0 / 0.8683 GB, free: 14 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/0.7152, allocations: 0 / 0.8683 GB, free: 14 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.053e-05/0.7153, allocations: 83.28 kB / 0.8684 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7153, allocations: 0 / 0.8684 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002901/0.7156, allocations: 47.86 kB / 0.8684 GB, free: 13.87 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.0007394/0.7163, allocations: 0.7283 MB / 0.8691 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 8.796e-05/0.7164, allocations: 15.94 kB / 0.8691 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.7164, allocations: 0 / 0.8691 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.184e-05/0.7165, allocations: 11.94 kB / 0.8691 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/0.7167, allocations: 3.984 kB / 0.8692 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003604/0.717, allocations: 109.5 kB / 0.8693 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.7173, allocations: 0.6847 MB / 0.8699 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.352e-05/0.7174, allocations: 0 / 0.8699 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.533e-05/0.7174, allocations: 11.44 kB / 0.8699 GB, free: 12.22 MB / 0.5417 GB Notification: Performance of SimCode: time 2.31e-07/0.7174, allocations: 0 / 0.8699 GB, free: 12.22 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02196/0.7394, allocations: 1.137 MB / 0.871 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000256/0.7397, allocations: 152.4 kB / 0.8712 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.666/2.405, allocations: 0 / 0.8712 GB, free: 10.89 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)