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.001107/0.001107, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 191.9 kB / 16.53 MB, free: 6.391 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.284/1.284, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.46/2.46, allocations: 437.1 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 63.91 kB / 0.8693 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5933/0.5945, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002532/0.597, allocations: 1.431 MB / 1.019 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0005859/0.5976, allocations: 347.6 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.334e-05/0.5977, allocations: 0 / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.239e-05/0.5977, allocations: 4 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.167e-05/0.5978, allocations: 3.938 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003874/0.5982, allocations: 107.3 kB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.352e-05/0.5982, allocations: 19.94 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.663e-05/0.5983, allocations: 7.984 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.142e-05/0.5983, allocations: 7.938 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.421e-05/0.5984, allocations: 11.98 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.5984, allocations: 4 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002001/0.5986, allocations: 119.8 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.043e-05/0.5986, allocations: 4 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.301e-05/0.5986, allocations: 15.92 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.5988, allocations: 83.75 kB / 1.02 GB, free: 344 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.5988, allocations: 4 kB / 1.02 GB, free: 340 kB / 0.7637 GB Notification: Performance of FrontEnd: time 9.32e-07/0.5988, allocations: 0 / 1.02 GB, free: 340 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.5988, allocations: 0 / 1.02 GB, free: 340 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.0004105/0.5993, allocations: 357.7 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.5993, allocations: 8.031 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.297e-05/0.5993, allocations: 34.75 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.435e-05/0.5994, allocations: 8.922 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.382e-05/0.5995, allocations: 168.3 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.5995, allocations: 384 / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.265e-06/0.5995, allocations: 4.375 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.5997, allocations: 46.25 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.5997, allocations: 7.922 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.5997, allocations: 3.938 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-06/0.5997, allocations: 0 / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001603/0.5999, allocations: 31.97 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002656/0.6001, allocations: 252.9 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.6003, allocations: 42.5 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.549e-05/0.6004, allocations: 24.91 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006368/0.601, allocations: 453.5 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.6011, allocations: 46.44 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.6011, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003308/0.6014, allocations: 77.64 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.6014, allocations: 55.41 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.112e-05/0.6015, allocations: 97.86 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.6015, allocations: 25.7 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.974e-05/0.6016, allocations: 88.12 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.315e-05/0.6016, allocations: 3.906 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.964e-05/0.6016, allocations: 17.84 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.817e-05/0.6017, allocations: 310.8 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.411e-05/0.6018, allocations: 19.98 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.299e-05/0.6019, allocations: 19.91 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.602, allocations: 40.83 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.602, allocations: 8 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001929/0.6022, allocations: 65.56 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.6023, allocations: 8 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.6023, allocations: 0 / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.6023, allocations: 0 / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.696e-05/0.6024, allocations: 7.984 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.6024, allocations: 0 / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.55e-05/0.6024, allocations: 8.031 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.6025, allocations: 4 kB / 1.022 GB, free: 13.71 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 6.641e-05/0.6025, allocations: 119.2 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.6026, allocations: 0 / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002165/0.6028, allocations: 72.78 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.6028, allocations: 0 / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.6028, allocations: 3.938 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.6028, allocations: 4.031 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.6029, allocations: 157.6 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.603, allocations: 4 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.771e-05/0.603, allocations: 11.98 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.603, allocations: 0 / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.281e-06/0.603, allocations: 0 / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.603, allocations: 0 / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.6031, allocations: 192 / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.6033, allocations: 171.4 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.082e-05/0.6033, allocations: 85.03 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.6034, allocations: 7.984 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.709e-05/0.6034, allocations: 4 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.531e-05/0.6035, allocations: 0 / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/0.6035, allocations: 3.984 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.578e-05/0.6035, allocations: 83.28 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6035, allocations: 4.031 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002553/0.6038, allocations: 32 kB / 1.022 GB, free: 12.86 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.00064/0.6044, allocations: 0.7318 MB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001996/0.6046, allocations: 39.95 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.6047, allocations: 0 / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.427e-05/0.6047, allocations: 24.05 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.605, allocations: 2.031 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000387/0.6054, allocations: 135.3 kB / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001895/0.6056, allocations: 0.6729 MB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.131e-05/0.6056, allocations: 11.92 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.752e-05/0.6056, allocations: 11.44 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of SimCode: time 4.21e-07/0.6056, allocations: 4.062 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01747/0.6231, allocations: 1.714 MB / 1.026 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.396/8.019, allocations: 7.922 kB / 1.026 GB, free: 9.469 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