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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001309/0.001309, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001388/0.001388, allocations: 195.5 kB / 16.14 MB, free: 6.711 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.3/1.3, allocations: 222.9 MB / 239.8 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.177/2.177, allocations: 390.2 MB / 0.6643 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 63.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4921/0.4933, allocations: 140.3 MB / 0.949 GB, free: 9.043 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.001977/0.4953, allocations: 1.501 MB / 0.9505 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000536/0.4958, allocations: 380.7 kB / 0.9509 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.919e-05/0.4959, allocations: 0 / 0.9509 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.45e-05/0.4959, allocations: 0 / 0.9509 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.528e-05/0.4959, allocations: 1.75 kB / 0.9509 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000294/0.4962, allocations: 90.19 kB / 0.951 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.977e-05/0.4963, allocations: 20.47 kB / 0.951 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.127e-05/0.4964, allocations: 6.547 kB / 0.951 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.9e-05/0.4964, allocations: 7.875 kB / 0.951 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.959e-05/0.4964, allocations: 18.38 kB / 0.951 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.684e-06/0.4964, allocations: 1.188 kB / 0.951 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001986/0.4966, allocations: 134.8 kB / 0.9511 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.447e-06/0.4967, allocations: 5.672 kB / 0.9511 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.823e-05/0.4967, allocations: 13.3 kB / 0.9512 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001465/0.4968, allocations: 89.84 kB / 0.9512 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.4968, allocations: 0 / 0.9512 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.51e-07/0.4969, allocations: 0 / 0.9512 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.936e-06/0.4969, allocations: 1.469 kB / 0.9512 GB, free: 7.34 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.0003068/0.4972, allocations: 359.3 kB / 0.9516 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.974e-05/0.4972, allocations: 9.594 kB / 0.9516 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.867e-05/0.4972, allocations: 32.31 kB / 0.9516 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.943e-05/0.4973, allocations: 2.438 kB / 0.9516 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.042e-05/0.4973, allocations: 165.9 kB / 0.9518 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.805e-06/0.4973, allocations: 384 / 0.9518 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.195e-06/0.4973, allocations: 1.594 kB / 0.9518 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.4975, allocations: 53.86 kB / 0.9518 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.4975, allocations: 7.938 kB / 0.9518 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.483e-06/0.4975, allocations: 0 / 0.9518 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-06/0.4975, allocations: 1.75 kB / 0.9518 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000148/0.4977, allocations: 33.89 kB / 0.9519 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001982/0.4979, allocations: 249.4 kB / 0.9521 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.498, allocations: 46.2 kB / 0.9522 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.483e-05/0.4981, allocations: 26.94 kB / 0.9522 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000541/0.4986, allocations: 471.7 kB / 0.9526 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.367e-05/0.4986, allocations: 31.94 kB / 0.9527 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.4986, allocations: 0 / 0.9527 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002915/0.4989, allocations: 79.89 kB / 0.9527 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.678e-05/0.499, allocations: 52.91 kB / 0.9528 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.69e-05/0.499, allocations: 106 kB / 0.9529 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.471e-06/0.499, allocations: 27.08 kB / 0.9529 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.717e-05/0.499, allocations: 80.14 kB / 0.953 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.178e-05/0.4991, allocations: 5.281 kB / 0.953 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.318e-05/0.4991, allocations: 16.47 kB / 0.953 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.059e-05/0.4991, allocations: 316.2 kB / 0.9533 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.165e-05/0.4992, allocations: 16.17 kB / 0.9533 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.414e-05/0.4993, allocations: 21.61 kB / 0.9534 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.4994, allocations: 35.33 kB / 0.9534 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4994, allocations: 8.719 kB / 0.9534 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001628/0.4996, allocations: 63.75 kB / 0.9535 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.4996, allocations: 9.156 kB / 0.9535 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.267e-06/0.4996, allocations: 1.312 kB / 0.9535 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.707e-06/0.4996, allocations: 0 / 0.9535 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.926e-05/0.4997, allocations: 14.27 kB / 0.9535 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.4997, allocations: 0 / 0.9535 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.163e-05/0.4997, allocations: 11.67 kB / 0.9535 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/0.4998, allocations: 1.438 kB / 0.9535 GB, free: 4.969 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.653e-05/0.4998, allocations: 115 kB / 0.9536 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.327e-05/0.4998, allocations: 5.094 kB / 0.9536 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001862/0.5, allocations: 71 kB / 0.9537 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.5, allocations: 192 / 0.9537 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.5, allocations: 0 / 0.9537 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.5, allocations: 5.734 kB / 0.9537 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.41e-05/0.5001, allocations: 164.8 kB / 0.9538 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.5001, allocations: 1.281 kB / 0.9538 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.067e-05/0.5002, allocations: 8.969 kB / 0.9538 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.5002, allocations: 9.484 kB / 0.9539 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.5002, allocations: 0 / 0.9539 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.5002, allocations: 0 / 0.9539 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5002, allocations: 5.125 kB / 0.9539 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.5004, allocations: 162.8 kB / 0.954 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.321e-05/0.5004, allocations: 78.45 kB / 0.9541 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.759e-06/0.5004, allocations: 4.031 kB / 0.9541 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.8e-05/0.5005, allocations: 8.719 kB / 0.9541 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.646e-05/0.5005, allocations: 3.984 kB / 0.9541 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/0.5005, allocations: 1.031 kB / 0.9541 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.766e-05/0.5006, allocations: 78.53 kB / 0.9542 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5006, allocations: 0 / 0.9542 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000232/0.5008, allocations: 32.17 kB / 0.9542 GB, free: 4.223 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.0004217/0.5012, allocations: 0.7338 MB / 0.9549 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001768/0.5014, allocations: 32.84 kB / 0.955 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.5014, allocations: 0 / 0.955 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.788e-05/0.5015, allocations: 23.06 kB / 0.955 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/0.5017, allocations: 2.75 kB / 0.955 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003091/0.502, allocations: 159.7 kB / 0.9551 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.137e-05/0.5021, allocations: 0.6771 MB / 0.9558 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.927e-05/0.5021, allocations: 7.875 kB / 0.9558 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.175e-05/0.5022, allocations: 9.062 kB / 0.9558 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.5022, allocations: 0 / 0.9558 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7251/1.227, allocations: 1.562 MB / 0.9573 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001784/1.227, allocations: 194.3 kB / 0.9575 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.988/3.216, allocations: 3.938 kB / 0.9575 GB, free: 1.539 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