Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.BesselY1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.BesselY1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.828/0.828, allocations: 141.8 MB / 149.3 MB, free: 9.238 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 188.8 kB / 182.2 MB, free: 9.453 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.683/1.683, allocations: 221.5 MB / 436.4 MB, free: 13.34 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000944/0.0009441, allocations: 88.03 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002065/0.002064, allocations: 276.9 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 3.418e-05/3.409e-05, allocations: 11.94 kB / 0.6767 GB, free: 12.72 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5012/0.5013, allocations: 82.76 MB / 0.7575 GB, free: 31.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1484/0.6498, allocations: 107.7 MB / 0.8627 GB, free: 4.035 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003291/0.6502, allocations: 75.94 kB / 0.8627 GB, free: 3.961 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.00688/0.6571, allocations: 2.17 MB / 0.8649 GB, free: 1.797 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.435e-06/0.6572, allocations: 4 kB / 0.8649 GB, free: 1.793 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.6572, allocations: 0 / 0.8649 GB, free: 1.793 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003374/0.6575, allocations: 342.4 kB / 0.8652 GB, free: 1.414 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/0.6576, allocations: 8.031 kB / 0.8652 GB, free: 1.406 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.871e-05/0.6576, allocations: 4 kB / 0.8652 GB, free: 1.402 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.6578, allocations: 163.1 kB / 0.8654 GB, free: 1.203 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.6578, allocations: 3.953 kB / 0.8654 GB, free: 1.199 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.6578, allocations: 0 / 0.8654 GB, free: 1.199 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.927e-05/0.6579, allocations: 0 / 0.8654 GB, free: 1.199 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.875e-05/0.6579, allocations: 33.7 kB / 0.8654 GB, free: 1.16 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.658, allocations: 0 / 0.8654 GB, free: 1.16 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.658, allocations: 0 / 0.8654 GB, free: 1.16 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.658, allocations: 0 / 0.8654 GB, free: 1.16 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001506/0.6582, allocations: 130.2 kB / 0.8655 GB, free: 0.9961 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.39e-05/0.6582, allocations: 18.52 kB / 0.8655 GB, free: 0.9688 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.905e-05/0.6582, allocations: 8.953 kB / 0.8655 GB, free: 0.957 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006868/0.6589, allocations: 457.5 kB / 0.866 GB, free: 428 kB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.659, allocations: 38.52 kB / 0.866 GB, free: 380 kB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.183e-06/0.659, allocations: 0 / 0.866 GB, free: 380 kB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001923/0.6592, allocations: 41.62 kB / 0.8661 GB, free: 332 kB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.6592, allocations: 51.41 kB / 0.8661 GB, free: 268 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.747e-05/0.6593, allocations: 85 kB / 0.8662 GB, free: 176 kB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.6593, allocations: 29.64 kB / 0.8662 GB, free: 140 kB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.213e-05/0.6593, allocations: 80.14 kB / 0.8663 GB, free: 56 kB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.096e-05/0.6594, allocations: 0 / 0.8663 GB, free: 56 kB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.295e-06/0.6594, allocations: 0 / 0.8663 GB, free: 56 kB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.6596, allocations: 314.8 kB / 0.8666 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.797e-05/0.6596, allocations: 7.969 kB / 0.8666 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.468e-06/0.6596, allocations: 4 kB / 0.8666 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.725e-05/0.6596, allocations: 0 / 0.8666 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.582e-06/0.6596, allocations: 0 / 0.8666 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.848e-05/0.6597, allocations: 33.69 kB / 0.8666 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.6597, allocations: 8.938 kB / 0.8666 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.6597, allocations: 0 / 0.8666 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.6598, allocations: 3.953 kB / 0.8666 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.816e-05/0.6598, allocations: 0 / 0.8666 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.6598, allocations: 4 kB / 0.8666 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.082e-05/0.6598, allocations: 8 kB / 0.8667 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.6599, allocations: 0 / 0.8667 GB, free: 15.66 MB / 0.5417 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.053e-05/0.6599, allocations: 101 kB / 0.8668 GB, free: 15.56 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.159e-05/0.66, allocations: 33.64 kB / 0.8668 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.745e-06/0.66, allocations: 7.938 kB / 0.8668 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.977e-05/0.6601, allocations: 40.81 kB / 0.8668 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.6601, allocations: 4 kB / 0.8668 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.6601, allocations: 0 / 0.8668 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.6601, allocations: 4.062 kB / 0.8668 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.971e-05/0.6602, allocations: 126.2 kB / 0.867 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.6602, allocations: 0 / 0.867 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.868e-06/0.6602, allocations: 0 / 0.867 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.6603, allocations: 4 kB / 0.867 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.6603, allocations: 0 / 0.867 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.6603, allocations: 3.953 kB / 0.867 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.6603, allocations: 0 / 0.867 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.247e-05/0.6604, allocations: 57.08 kB / 0.867 GB, free: 15.22 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.876e-05/0.6604, allocations: 85.09 kB / 0.8671 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.6604, allocations: 4 kB / 0.8671 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.121e-06/0.6605, allocations: 0 / 0.8671 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.942e-05/0.6605, allocations: 7.953 kB / 0.8671 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-06/0.6605, allocations: 3.938 kB / 0.8671 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.524e-05/0.6605, allocations: 75.28 kB / 0.8672 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6606, allocations: 0 / 0.8672 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002342/0.6608, allocations: 47.8 kB / 0.8672 GB, free: 14.98 MB / 0.5417 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0006179/0.6614, allocations: 0.6554 MB / 0.8679 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 6.484e-05/0.6615, allocations: 4 kB / 0.8679 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/0.6615, allocations: 0 / 0.8679 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.278e-06/0.6615, allocations: 0 / 0.8679 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001094/0.6616, allocations: 7.953 kB / 0.8679 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000306/0.6619, allocations: 97.78 kB / 0.868 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.6622, allocations: 0.6729 MB / 0.8686 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.333e-05/0.6622, allocations: 4 kB / 0.8686 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.782e-05/0.6623, allocations: 7.438 kB / 0.8686 GB, free: 13.44 MB / 0.5417 GB Notification: Performance of SimCode: time 2.61e-07/0.6623, allocations: 3.938 kB / 0.8687 GB, free: 13.44 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02035/0.6826, allocations: 0.8669 MB / 0.8695 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002055/0.6829, allocations: 164.4 kB / 0.8697 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.671/2.354, allocations: 0 / 0.8697 GB, free: 12.38 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselY1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1)