Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.BesselY1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_BesselY1",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.001515/0.001514, 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.001168/0.001169, 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.216/1.216, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.098/2.098, allocations: 390.3 MB / 0.6644 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 59.91 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4943/0.4956, allocations: 140.4 MB / 0.9492 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.001832/0.4975, allocations: 1.478 MB / 0.9507 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004654/0.498, allocations: 366.1 kB / 0.951 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.919e-05/0.498, allocations: 0 / 0.951 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.698e-05/0.4981, allocations: 1.156 kB / 0.951 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.978e-05/0.4981, allocations: 7.875 kB / 0.951 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003369/0.4984, allocations: 99.53 kB / 0.9511 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.033e-05/0.4985, allocations: 17.38 kB / 0.9511 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.396e-05/0.4986, allocations: 10.2 kB / 0.9512 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.812e-05/0.4986, allocations: 8.047 kB / 0.9512 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.644e-05/0.4986, allocations: 13.77 kB / 0.9512 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.685e-06/0.4986, allocations: 2.688 kB / 0.9512 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001687/0.4988, allocations: 141.9 kB / 0.9513 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.384e-06/0.4988, allocations: 4 kB / 0.9513 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.605e-05/0.4988, allocations: 14.36 kB / 0.9513 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.499, allocations: 85.5 kB / 0.9514 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.499, allocations: 1.375 kB / 0.9514 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.162e-06/0.499, allocations: 4 kB / 0.9514 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.487e-06/0.499, allocations: 0 / 0.9514 GB, free: 7.551 MB / 0.7169 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.0002965/0.4993, allocations: 357.4 kB / 0.9518 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.839e-05/0.4993, allocations: 8.125 kB / 0.9518 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.032e-05/0.4994, allocations: 36.03 kB / 0.9518 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.789e-05/0.4994, allocations: 2.562 kB / 0.9518 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.001e-05/0.4994, allocations: 165.6 kB / 0.952 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.315e-06/0.4994, allocations: 384 / 0.952 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.622e-06/0.4995, allocations: 9.844 kB / 0.952 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.4996, allocations: 45.7 kB / 0.952 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.4996, allocations: 3.938 kB / 0.952 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.662e-06/0.4996, allocations: 4.906 kB / 0.952 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.4996, allocations: 0 / 0.952 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001368/0.4998, allocations: 34.58 kB / 0.9521 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001878/0.5, allocations: 257.3 kB / 0.9523 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.931e-05/0.5001, allocations: 46.73 kB / 0.9523 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.998e-05/0.5001, allocations: 18.94 kB / 0.9524 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005258/0.5007, allocations: 471.5 kB / 0.9528 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.31e-05/0.5007, allocations: 31.56 kB / 0.9528 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.5007, allocations: 0 / 0.9528 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002753/0.501, allocations: 88.33 kB / 0.9529 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.481e-05/0.501, allocations: 52.66 kB / 0.953 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.646e-05/0.501, allocations: 102.9 kB / 0.9531 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.131e-06/0.5011, allocations: 25.7 kB / 0.9531 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.58e-05/0.5011, allocations: 85.27 kB / 0.9532 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.239e-05/0.5011, allocations: 5.25 kB / 0.9532 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.398e-05/0.5011, allocations: 16.38 kB / 0.9532 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.033e-05/0.5012, allocations: 324.1 kB / 0.9535 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.835e-05/0.5012, allocations: 12.2 kB / 0.9535 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.998e-05/0.5013, allocations: 18.08 kB / 0.9535 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.5014, allocations: 39.75 kB / 0.9536 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.5014, allocations: 3.938 kB / 0.9536 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001504/0.5016, allocations: 67.83 kB / 0.9537 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.987e-06/0.5016, allocations: 6.281 kB / 0.9537 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.936e-06/0.5016, allocations: 0 / 0.9537 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.5016, allocations: 0 / 0.9537 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.52e-05/0.5017, allocations: 10.39 kB / 0.9537 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.496e-06/0.5017, allocations: 0 / 0.9537 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.027e-05/0.5017, allocations: 12.23 kB / 0.9537 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-06/0.5017, allocations: 0 / 0.9537 GB, free: 5.176 MB / 0.7169 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 3.495e-05/0.5018, allocations: 119.7 kB / 0.9538 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.09e-05/0.5018, allocations: 4.938 kB / 0.9538 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000172/0.502, allocations: 71.53 kB / 0.9539 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.502, allocations: 0 / 0.9539 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.502, allocations: 0 / 0.9539 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.502, allocations: 1.344 kB / 0.9539 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.063e-05/0.5021, allocations: 165.8 kB / 0.954 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.5021, allocations: 4.031 kB / 0.954 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.878e-05/0.5022, allocations: 10.08 kB / 0.954 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.5022, allocations: 0 / 0.954 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.942e-06/0.5022, allocations: 1.625 kB / 0.954 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.5022, allocations: 0 / 0.954 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.5022, allocations: 0 / 0.954 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001602/0.5024, allocations: 164 kB / 0.9542 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.128e-05/0.5024, allocations: 77.11 kB / 0.9543 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.708e-06/0.5024, allocations: 1.562 kB / 0.9543 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.598e-05/0.5025, allocations: 10.36 kB / 0.9543 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.378e-05/0.5025, allocations: 5.312 kB / 0.9543 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.5025, allocations: 1.406 kB / 0.9543 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.64e-05/0.5025, allocations: 78.03 kB / 0.9544 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5025, allocations: 1.062 kB / 0.9544 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000225/0.5027, allocations: 31.17 kB / 0.9544 GB, free: 4.438 MB / 0.7169 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.0003908/0.5031, allocations: 0.7374 MB / 0.9551 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001689/0.5033, allocations: 41.53 kB / 0.9552 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.5033, allocations: 3.938 kB / 0.9552 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.176e-05/0.5034, allocations: 19.59 kB / 0.9552 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001982/0.5036, allocations: 8.188 kB / 0.9552 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002958/0.5039, allocations: 144.3 kB / 0.9553 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.752e-05/0.504, allocations: 0.6811 MB / 0.956 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.774e-05/0.504, allocations: 1.344 kB / 0.956 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.141e-05/0.504, allocations: 8.656 kB / 0.956 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.504, allocations: 0 / 0.956 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.199/2.703, allocations: 1.609 MB / 0.9576 GB, free: 2 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001579/2.703, allocations: 198.4 kB / 0.9578 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.587/4.29, allocations: 0 / 0.9578 GB, free: 1.738 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.BesselY1_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_BesselY1.fmu > Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Examples.BesselY1_res.mat does not exist to compare? outputFormat=mat