Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.conf.json 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/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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 111.3 kB / 15.34 MB, free: 0.5117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001661/0.001661, allocations: 186.1 kB / 16.25 MB, free: 6.141 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.495/2.495, allocations: 437 MB / 0.7101 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.00128, allocations: 63.89 kB / 0.8689 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6842/0.6855, allocations: 151.6 MB / 1.017 GB, free: 2.676 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002876/0.6884, allocations: 1.503 MB / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006525/0.6891, allocations: 355.6 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.63e-05/0.6891, allocations: 0 / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.237e-05/0.6892, allocations: 0 / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.827e-05/0.6892, allocations: 0 / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004379/0.6897, allocations: 91.8 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.905e-05/0.6897, allocations: 19.98 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.947e-05/0.6898, allocations: 7.938 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.584e-05/0.6899, allocations: 11.92 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.152e-05/0.6899, allocations: 8 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.6899, allocations: 4 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002277/0.6902, allocations: 135.7 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.514e-05/0.6902, allocations: 4 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.712e-05/0.6902, allocations: 7.938 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.6904, allocations: 95.78 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.6904, allocations: 0 / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6904, allocations: 0 / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.6905, allocations: 0 / 1.019 GB, free: 444 kB / 0.7637 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.00051/0.691, allocations: 353.7 kB / 1.019 GB, free: 40 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.691, allocations: 16.03 kB / 1.019 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.782e-05/0.6911, allocations: 34.69 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.786e-05/0.6911, allocations: 0.9375 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.6913, allocations: 168.3 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.6913, allocations: 4.375 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-06/0.6913, allocations: 384 / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.6915, allocations: 50.23 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.6915, allocations: 3.938 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.6915, allocations: 0 / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.6916, allocations: 4 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001629/0.6917, allocations: 31.97 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003488/0.6921, allocations: 252.8 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.6922, allocations: 38.5 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.224e-05/0.6923, allocations: 24.91 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000676/0.693, allocations: 461.5 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.693, allocations: 34.5 kB / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.693, allocations: 4 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003402/0.6934, allocations: 81.58 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.6934, allocations: 55.41 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.51e-05/0.6935, allocations: 97.84 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.6935, allocations: 29.64 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.127e-05/0.6936, allocations: 88.25 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.756e-05/0.6936, allocations: 11.91 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.83e-05/0.6936, allocations: 9.719 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.6937, allocations: 318.8 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.729e-05/0.6938, allocations: 11.98 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.967e-05/0.6939, allocations: 15.97 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.694, allocations: 44.89 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.694, allocations: 3.938 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001815/0.6942, allocations: 73.5 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.6942, allocations: 4 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.6943, allocations: 0 / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.6943, allocations: 0 / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-05/0.6944, allocations: 11.98 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.6944, allocations: 4.031 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.406e-05/0.6944, allocations: 4 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.6944, allocations: 0 / 1.021 GB, free: 13.81 MB / 0.7794 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.274e-05/0.6945, allocations: 114.3 kB / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.342e-05/0.6945, allocations: 4 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002087/0.6948, allocations: 72.72 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.6948, allocations: 4.031 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.6948, allocations: 0 / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.6948, allocations: 0 / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.6949, allocations: 161.6 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.6949, allocations: 4 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.485e-05/0.695, allocations: 7.984 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.695, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-06/0.695, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.695, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.695, allocations: 4 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/0.6953, allocations: 163.5 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.885e-05/0.6953, allocations: 85.05 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.6953, allocations: 7.922 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.252e-05/0.6954, allocations: 4 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.586e-05/0.6955, allocations: 3.984 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.6955, allocations: 0 / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.689e-05/0.6955, allocations: 87.31 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6955, allocations: 0 / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002479/0.6958, allocations: 28 kB / 1.022 GB, free: 12.97 MB / 0.7794 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006182/0.6964, allocations: 0.7319 MB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002017/0.6966, allocations: 47.83 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.6966, allocations: 4.062 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.201e-05/0.6967, allocations: 19.98 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.6969, allocations: 6.328 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003921/0.6973, allocations: 143.3 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/0.6976, allocations: 0.6729 MB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.561e-05/0.6976, allocations: 8.047 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.09e-05/0.6977, allocations: 11.44 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.6977, allocations: 4 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9064/1.604, allocations: 1.575 MB / 1.025 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002124/1.604, allocations: 196.6 kB / 1.025 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.312/3.916, allocations: 3.625 kB / 1.025 GB, free: 9.496 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.BesselY0_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_BesselY0.fmu > Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_10_Buildings.Utilities.Math.Examples.BesselY0_res.mat does not exist to compare? outputFormat=mat