Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.568/1.568, allocations: 252 MB / 267 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000998/0.000998, allocations: 186 kB / 326.6 MB, free: 2.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.844/1.844, allocations: 205.4 MB / 0.5777 GB, free: 20.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007618/0.000762, allocations: 94.44 kB / 0.6823 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000433/0.0004331, allocations: 9.391 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2624, allocations: 106.3 MB / 0.9003 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.001764/0.2642, allocations: 1.157 MB / 0.9014 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007336/0.265, allocations: 332.1 kB / 0.9017 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.048e-05/0.265, allocations: 0 / 0.9017 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.871e-05/0.265, allocations: 3.984 kB / 0.9018 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.955e-05/0.2651, allocations: 0 / 0.9018 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004624/0.2656, allocations: 87.8 kB / 0.9018 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.323e-05/0.2657, allocations: 19.92 kB / 0.9019 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.976e-05/0.2658, allocations: 0 / 0.9019 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.51e-05/0.2658, allocations: 11.98 kB / 0.9019 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.037e-05/0.2659, allocations: 7.938 kB / 0.9019 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.2659, allocations: 0 / 0.9019 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002931/0.2662, allocations: 135.7 kB / 0.902 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.887e-06/0.2662, allocations: 0 / 0.902 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.236e-05/0.2662, allocations: 33.7 kB / 0.902 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.2664, allocations: 59.89 kB / 0.9021 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.2664, allocations: 0 / 0.9021 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2664, allocations: 0 / 0.9021 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.2664, allocations: 0 / 0.9021 GB, free: 62.31 MB / 0.6042 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.0004789/0.2669, allocations: 351.3 kB / 0.9024 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.267, allocations: 8.031 kB / 0.9024 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.172e-05/0.267, allocations: 46.48 kB / 0.9025 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.638e-05/0.2671, allocations: 3.938 kB / 0.9025 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.784e-05/0.2672, allocations: 175.2 kB / 0.9027 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.2672, allocations: 0 / 0.9027 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.2672, allocations: 0 / 0.9027 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002353/0.2675, allocations: 53.67 kB / 0.9027 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.2675, allocations: 0 / 0.9027 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.2675, allocations: 4 kB / 0.9027 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.2675, allocations: 8 kB / 0.9027 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002444/0.2678, allocations: 43.95 kB / 0.9028 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003164/0.2681, allocations: 248.9 kB / 0.903 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.2683, allocations: 42.56 kB / 0.903 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.2685, allocations: 32.89 kB / 0.9031 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008613/0.2693, allocations: 473.4 kB / 0.9035 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.2694, allocations: 30.56 kB / 0.9035 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.483e-06/0.2694, allocations: 0 / 0.9035 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0004886/0.2699, allocations: 101.6 kB / 0.9036 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/0.2699, allocations: 51.41 kB / 0.9037 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.714e-05/0.27, allocations: 117.9 kB / 0.9038 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.27, allocations: 25.7 kB / 0.9038 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.607e-05/0.2701, allocations: 80.14 kB / 0.9039 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.2701, allocations: 7.906 kB / 0.9039 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.2701, allocations: 0 / 0.9039 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.075e-05/0.2702, allocations: 314.8 kB / 0.9042 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.2703, allocations: 15.98 kB / 0.9042 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.2704, allocations: 31.97 kB / 0.9043 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.2706, allocations: 15.98 kB / 0.9043 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.2706, allocations: 0 / 0.9043 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002795/0.2709, allocations: 85.66 kB / 0.9044 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.2709, allocations: 8 kB / 0.9044 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2709, allocations: 0 / 0.9044 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.2709, allocations: 0 / 0.9044 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.2711, allocations: 8 kB / 0.9044 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.2711, allocations: 0 / 0.9044 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.35e-05/0.2712, allocations: 16.02 kB / 0.9044 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.2712, allocations: 7.938 kB / 0.9044 GB, free: 59.64 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.087e-05/0.2713, allocations: 105.8 kB / 0.9045 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.829e-05/0.2713, allocations: 11.84 kB / 0.9045 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003353/0.2717, allocations: 88.7 kB / 0.9046 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.2717, allocations: 4 kB / 0.9046 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.2717, allocations: 0 / 0.9046 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.2717, allocations: 0 / 0.9046 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/0.2719, allocations: 161.6 kB / 0.9047 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2719, allocations: 0 / 0.9047 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.358e-05/0.272, allocations: 11.98 kB / 0.9048 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.272, allocations: 4.031 kB / 0.9048 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.272, allocations: 0 / 0.9048 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2721, allocations: 0 / 0.9048 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.2721, allocations: 4 kB / 0.9048 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003179/0.2724, allocations: 175.5 kB / 0.9049 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.979e-05/0.2724, allocations: 77.11 kB / 0.905 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.2725, allocations: 0 / 0.905 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.2726, allocations: 11.98 kB / 0.905 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.619e-05/0.2727, allocations: 0 / 0.905 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.2727, allocations: 4 kB / 0.905 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.315e-05/0.2727, allocations: 91.2 kB / 0.9051 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.51e-07/0.2727, allocations: 0 / 0.9051 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004421/0.2732, allocations: 32.03 kB / 0.9051 GB, free: 58.77 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007915/0.274, allocations: 0.7359 MB / 0.9059 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002924/0.2743, allocations: 51.98 kB / 0.9059 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2743, allocations: 0 / 0.9059 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000127/0.2744, allocations: 27.92 kB / 0.9059 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003729/0.2748, allocations: 0 / 0.9059 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005737/0.2754, allocations: 154.3 kB / 0.9061 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.2756, allocations: 0.677 MB / 0.9067 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.265e-05/0.2756, allocations: 0 / 0.9067 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.8e-05/0.2757, allocations: 7.438 kB / 0.9068 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of SimCode: time 3.81e-07/0.2757, allocations: 0 / 0.9068 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0144/0.2901, allocations: 1.527 MB / 0.9082 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001942/0.2903, allocations: 182.5 kB / 0.9084 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.558/1.849, allocations: 0 / 0.9084 GB, free: 55.39 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselY1.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1)