Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_11_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.001501/0.001501, allocations: 108 kB / 15.61 MB, free: 152 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.001739/0.001739, allocations: 193.5 kB / 16.53 MB, free: 6.664 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.332/1.332, 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 11.1.0-maint.11.x/package.mo): time 2.721/2.721, allocations: 469.8 MB / 0.7424 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 65.23 kB / 0.9087 GB, free: 34.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2744, allocations: 159.2 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002593/0.2771, allocations: 1.438 MB / 1.065 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006411/0.2777, allocations: 340.8 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.506e-05/0.2778, allocations: 0 / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.433e-05/0.2778, allocations: 3.938 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.943e-05/0.2778, allocations: 7.938 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003916/0.2782, allocations: 101 kB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.227e-05/0.2783, allocations: 19.92 kB / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.431e-05/0.2784, allocations: 8 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.71e-05/0.2784, allocations: 19.91 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.198e-05/0.2785, allocations: 4 kB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.999e-06/0.2785, allocations: 4 kB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000216/0.2787, allocations: 119.8 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.378e-05/0.2787, allocations: 11.92 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.861e-05/0.2787, allocations: 4 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.2789, allocations: 87.75 kB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2789, allocations: 0 / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2789, allocations: 0 / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.2789, allocations: 0 / 1.066 GB, free: 12.06 MB / 0.8262 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.0004688/0.2794, allocations: 363.7 kB / 1.067 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.2795, allocations: 12.03 kB / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.472e-05/0.2795, allocations: 30.75 kB / 1.067 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.98e-05/0.2795, allocations: 4.875 kB / 1.067 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.2797, allocations: 160.4 kB / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.2797, allocations: 4.375 kB / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.2797, allocations: 384 / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.2798, allocations: 50.23 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.2799, allocations: 7.938 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.2799, allocations: 0 / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.2799, allocations: 0 / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001707/0.2801, allocations: 35.95 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003091/0.2804, allocations: 256.9 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.2805, allocations: 46.48 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.567e-05/0.2806, allocations: 20.91 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006824/0.2813, allocations: 461.5 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.2813, allocations: 34.56 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.2814, allocations: 0 / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003327/0.2817, allocations: 89.48 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.2817, allocations: 51.41 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.725e-05/0.2818, allocations: 93.86 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.2818, allocations: 25.7 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.479e-05/0.2819, allocations: 88.27 kB / 1.068 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.2819, allocations: 11.89 kB / 1.068 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-05/0.2819, allocations: 9.719 kB / 1.068 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.2821, allocations: 314.8 kB / 1.068 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.01e-05/0.2822, allocations: 15.98 kB / 1.068 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.059e-05/0.2823, allocations: 15.98 kB / 1.068 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.2824, allocations: 44.88 kB / 1.068 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2824, allocations: 3.938 kB / 1.068 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001899/0.2826, allocations: 69.59 kB / 1.068 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.2826, allocations: 4 kB / 1.068 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.2826, allocations: 0 / 1.068 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.2827, allocations: 0 / 1.068 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.443e-05/0.2827, allocations: 12.03 kB / 1.068 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.2827, allocations: 0 / 1.068 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.597e-05/0.2828, allocations: 7.984 kB / 1.068 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.2828, allocations: 0 / 1.068 GB, free: 9.434 MB / 0.8262 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 8.117e-05/0.2829, allocations: 117.7 kB / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.405e-05/0.2829, allocations: 4 kB / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002212/0.2832, allocations: 76.89 kB / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.2832, allocations: 3.984 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.2832, allocations: 0 / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.2832, allocations: 0 / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.2834, allocations: 161.5 kB / 1.069 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.2834, allocations: 4 kB / 1.069 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.434e-05/0.2834, allocations: 7.984 kB / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.2834, allocations: 0 / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.2834, allocations: 3.938 kB / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.2834, allocations: 0 / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2834, allocations: 0 / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002413/0.2837, allocations: 171.4 kB / 1.069 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.279e-05/0.2837, allocations: 81.11 kB / 1.069 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.083e-05/0.2838, allocations: 0 / 1.069 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.193e-05/0.2839, allocations: 11.98 kB / 1.069 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.567e-05/0.2839, allocations: 7.938 kB / 1.069 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-06/0.2839, allocations: 4.031 kB / 1.069 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.558e-05/0.284, allocations: 83.27 kB / 1.069 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.284, allocations: 0 / 1.069 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000264/0.2842, allocations: 28 kB / 1.069 GB, free: 8.586 MB / 0.8262 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.0007072/0.285, allocations: 0.728 MB / 1.07 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002066/0.2852, allocations: 47.92 kB / 1.07 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.2852, allocations: 0 / 1.07 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.322e-05/0.2853, allocations: 19.98 kB / 1.07 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/0.2855, allocations: 1.562 kB / 1.07 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004014/0.2859, allocations: 147.1 kB / 1.07 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.2862, allocations: 0.6768 MB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.078e-05/0.2862, allocations: 12.03 kB / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.521e-05/0.2863, allocations: 7.438 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of SimCode: time 3.91e-07/0.2863, allocations: 0 / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8459/1.132, allocations: 1.722 MB / 1.072 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.74/14.88, allocations: 4.062 kB / 1.072 GB, free: 5.188 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.BesselY0_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_BesselY0.fmu > Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_11_Buildings.Utilities.Math.Examples.BesselY0_res.mat does not exist to compare? outputFormat=mat