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.8 MB / 149.3 MB, free: 9.223 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.001196/0.001196, allocations: 176.9 kB / 182.2 MB, free: 9.445 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.615/1.615, allocations: 221.5 MB / 436.4 MB, free: 13.28 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.001136/0.001136, allocations: 96.03 kB / 0.5074 GB, free: 10.11 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00199/0.00199, allocations: 280.2 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.637e-05/2.648e-05, allocations: 8 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5331/0.5332, allocations: 82.78 MB / 0.7575 GB, free: 31.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.165/0.6983, allocations: 107.6 MB / 0.8626 GB, free: 4.129 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002847/0.6987, allocations: 75.95 kB / 0.8627 GB, free: 4.055 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.006827/0.7055, allocations: 2.096 MB / 0.8647 GB, free: 1.957 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.726e-06/0.7056, allocations: 0 / 0.8647 GB, free: 1.957 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.7056, allocations: 0 / 0.8647 GB, free: 1.957 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004219/0.7061, allocations: 335.8 kB / 0.865 GB, free: 1.586 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.945e-05/0.7061, allocations: 12.03 kB / 0.865 GB, free: 1.574 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.517e-05/0.7062, allocations: 0 / 0.865 GB, free: 1.574 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.7063, allocations: 159.1 kB / 0.8652 GB, free: 1.379 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.7063, allocations: 3.953 kB / 0.8652 GB, free: 1.375 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.7064, allocations: 0 / 0.8652 GB, free: 1.375 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.83e-05/0.7064, allocations: 11.94 kB / 0.8652 GB, free: 1.363 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.023e-05/0.7065, allocations: 29.7 kB / 0.8652 GB, free: 1.328 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.7065, allocations: 0 / 0.8652 GB, free: 1.328 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.7066, allocations: 4 kB / 0.8652 GB, free: 1.324 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.7066, allocations: 0 / 0.8652 GB, free: 1.324 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001673/0.7067, allocations: 126.2 kB / 0.8654 GB, free: 1.164 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.908e-05/0.7068, allocations: 18.61 kB / 0.8654 GB, free: 1.137 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.102e-05/0.7068, allocations: 4.859 kB / 0.8654 GB, free: 1.129 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007133/0.7076, allocations: 449.5 kB / 0.8658 GB, free: 0.5977 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.7076, allocations: 38.45 kB / 0.8659 GB, free: 0.5508 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.643e-06/0.7076, allocations: 0 / 0.8659 GB, free: 0.5508 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.000184/0.7078, allocations: 29.7 kB / 0.8659 GB, free: 0.5156 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.026e-05/0.7079, allocations: 55.44 kB / 0.8659 GB, free: 460 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.008e-05/0.7079, allocations: 96.92 kB / 0.866 GB, free: 356 kB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.708, allocations: 25.7 kB / 0.8661 GB, free: 324 kB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.455e-05/0.708, allocations: 84.14 kB / 0.8661 GB, free: 236 kB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/0.708, allocations: 0 / 0.8661 GB, free: 236 kB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-06/0.7081, allocations: 0 / 0.8661 GB, free: 236 kB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.7082, allocations: 310.8 kB / 0.8664 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.128e-06/0.7083, allocations: 0 / 0.8664 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.561e-06/0.7083, allocations: 4 kB / 0.8664 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.46e-05/0.7083, allocations: 4 kB / 0.8664 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.7083, allocations: 0 / 0.8664 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.599e-05/0.7084, allocations: 41.48 kB / 0.8665 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.7084, allocations: 4 kB / 0.8665 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.7084, allocations: 0 / 0.8665 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.357e-05/0.7085, allocations: 11.94 kB / 0.8665 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.899e-05/0.7085, allocations: 0 / 0.8665 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.7085, allocations: 3.828 kB / 0.8665 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.212e-05/0.7086, allocations: 96 / 0.8665 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.7086, allocations: 4 kB / 0.8665 GB, free: 15.84 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 9.606e-05/0.7087, allocations: 105 kB / 0.8666 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.035e-05/0.7088, allocations: 29.7 kB / 0.8666 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.698e-06/0.7088, allocations: 7.953 kB / 0.8666 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001097/0.7089, allocations: 41.38 kB / 0.8667 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.7089, allocations: 0 / 0.8667 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.7089, allocations: 0 / 0.8667 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.7089, allocations: 0 / 0.8667 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001081/0.709, allocations: 130.3 kB / 0.8668 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.7091, allocations: 0 / 0.8668 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.678e-05/0.7091, allocations: 3.984 kB / 0.8668 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.7091, allocations: 0 / 0.8668 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.7091, allocations: 0 / 0.8668 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.7091, allocations: 3.953 kB / 0.8668 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.7091, allocations: 0 / 0.8668 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.325e-05/0.7092, allocations: 57.14 kB / 0.8669 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.235e-05/0.7093, allocations: 81.14 kB / 0.8669 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.7093, allocations: 3.984 kB / 0.8669 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.297e-06/0.7093, allocations: 0 / 0.8669 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.186e-05/0.7093, allocations: 11.88 kB / 0.867 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.7093, allocations: 4 kB / 0.867 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.84e-05/0.7094, allocations: 75.28 kB / 0.867 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7094, allocations: 0 / 0.867 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002532/0.7097, allocations: 39.94 kB / 0.8671 GB, free: 15.17 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.0007002/0.7104, allocations: 0.6476 MB / 0.8677 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 6.777e-05/0.7104, allocations: 7.938 kB / 0.8677 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.7105, allocations: 3.938 kB / 0.8677 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 5.951e-06/0.7105, allocations: 4 kB / 0.8677 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001095/0.7106, allocations: 3.953 kB / 0.8677 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002917/0.7109, allocations: 101.5 kB / 0.8678 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.7112, allocations: 0.6769 MB / 0.8685 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.259e-05/0.7112, allocations: 0 / 0.8685 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.775e-05/0.7112, allocations: 7.438 kB / 0.8685 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of SimCode: time 2.41e-07/0.7112, allocations: 0 / 0.8685 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02171/0.733, allocations: 0.8651 MB / 0.8693 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002621/0.7333, allocations: 154 kB / 0.8695 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.709/2.442, allocations: 5.547 kB / 0.8695 GB, free: 12.57 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)