Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.306/2.306, allocations: 393.5 MB / 408.4 MB, free: 11.05 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 179.1 kB / 0.4901 GB, free: 2.238 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 223.1 MB / 0.7992 GB, free: 14.76 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008714/0.0008715, allocations: 103.2 kB / 0.9396 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003519/0.0003519, allocations: 11.94 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2662, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2272/0.4934, allocations: 150.5 MB / 1.376 GB, free: 2.984 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/0.4937, allocations: 67.97 kB / 1.376 GB, free: 2.918 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.007612/0.5014, allocations: 2.406 MB / 1.379 GB, free: 0.5078 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.904e-06/0.5014, allocations: 0 / 1.379 GB, free: 0.5078 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.5014, allocations: 0 / 1.379 GB, free: 0.5078 MB / 0.8698 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.0004307/0.5019, allocations: 375.2 kB / 1.379 GB, free: 96 kB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.5019, allocations: 12.56 kB / 1.379 GB, free: 84 kB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.759e-05/0.502, allocations: 34.56 kB / 1.379 GB, free: 40 kB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.38e-05/0.502, allocations: 3.906 kB / 1.379 GB, free: 36 kB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.5022, allocations: 171 kB / 1.379 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.5022, allocations: 0 / 1.379 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.5022, allocations: 0 / 1.379 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.5024, allocations: 53.67 kB / 1.379 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.5024, allocations: 0 / 1.379 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.5024, allocations: 4 kB / 1.379 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.5024, allocations: 0 / 1.379 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001652/0.5026, allocations: 43.95 kB / 1.379 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004182/0.503, allocations: 272.8 kB / 1.38 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.5032, allocations: 42.59 kB / 1.38 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006383/0.5038, allocations: 449.5 kB / 1.38 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.5039, allocations: 30.56 kB / 1.38 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.5039, allocations: 0 / 1.38 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.0003529/0.5042, allocations: 101.6 kB / 1.38 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.5043, allocations: 51.41 kB / 1.38 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.405e-05/0.5043, allocations: 101 kB / 1.38 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.5044, allocations: 25.7 kB / 1.38 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.429e-05/0.5044, allocations: 88.19 kB / 1.38 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.535e-05/0.5044, allocations: 7.906 kB / 1.38 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-06/0.5045, allocations: 0 / 1.38 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.5046, allocations: 314.8 kB / 1.381 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.075e-05/0.5047, allocations: 19.98 kB / 1.381 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.665e-05/0.5047, allocations: 31.97 kB / 1.381 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.584e-05/0.5048, allocations: 15.98 kB / 1.381 GB, free: 14 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5048, allocations: 0 / 1.381 GB, free: 14 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001949/0.505, allocations: 77.64 kB / 1.381 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.5051, allocations: 11.98 kB / 1.381 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.5051, allocations: 0 / 1.381 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.5051, allocations: 7.875 kB / 1.381 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.727e-05/0.5052, allocations: 15.94 kB / 1.381 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.5052, allocations: 0 / 1.381 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.974e-05/0.5053, allocations: 11.98 kB / 1.381 GB, free: 13.87 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.5053, allocations: 11.98 kB / 1.381 GB, free: 13.86 MB / 0.8855 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 () * Number of clocked 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 6.984e-05/0.5053, allocations: 105.8 kB / 1.381 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.156e-05/0.5054, allocations: 0 / 1.381 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002335/0.5056, allocations: 84.77 kB / 1.381 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.5056, allocations: 4.031 kB / 1.381 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.5056, allocations: 4 kB / 1.381 GB, free: 13.65 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.5056, allocations: 0 / 1.381 GB, free: 13.65 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.5058, allocations: 157.6 kB / 1.381 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.5058, allocations: 0 / 1.381 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.511e-05/0.5059, allocations: 15.92 kB / 1.381 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.5059, allocations: 0 / 1.381 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.034e-06/0.5059, allocations: 0 / 1.381 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.5059, allocations: 0 / 1.381 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.5059, allocations: 4 kB / 1.381 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002477/0.5062, allocations: 175.7 kB / 1.381 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.233e-05/0.5062, allocations: 85 kB / 1.382 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.148e-05/0.5062, allocations: 4.031 kB / 1.382 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.038e-05/0.5063, allocations: 11.98 kB / 1.382 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.588e-05/0.5064, allocations: 0 / 1.382 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.5064, allocations: 0 / 1.382 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.135e-05/0.5064, allocations: 83.27 kB / 1.382 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5064, allocations: 0 / 1.382 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002701/0.5067, allocations: 43.94 kB / 1.382 GB, free: 13 MB / 0.8855 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 () * Number of clocked 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.0007785/0.5075, allocations: 0.7639 MB / 1.382 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002211/0.5077, allocations: 43.97 kB / 1.382 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.5077, allocations: 0 / 1.382 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 8.568e-05/0.5078, allocations: 31.91 kB / 1.383 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001914/0.508, allocations: 4 kB / 1.383 GB, free: 12.13 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004383/0.5085, allocations: 170.3 kB / 1.383 GB, free: 11.92 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.5088, allocations: 0.677 MB / 1.383 GB, free: 11.22 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.282e-05/0.5088, allocations: 0 / 1.383 GB, free: 11.22 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.21e-05/0.5088, allocations: 11.44 kB / 1.383 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of SimCode: time 4.21e-07/0.5088, allocations: 0 / 1.383 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01232/0.5211, allocations: 1.441 MB / 1.385 GB, free: 9.875 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001611/0.5214, allocations: 167.1 kB / 1.385 GB, free: 9.641 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.526/2.047, allocations: 0 / 1.385 GB, free: 9.641 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_BesselY0.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0_res.mat does not exist to compare? outputFormat=mat