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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00493/0.00493, allocations: 99.75 kB / 15.73 MB, free: 6.039 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.001289/0.001289, allocations: 192.2 kB / 16.67 MB, free: 5.949 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.33/1.33, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002469/0.002469, allocations: 289.4 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.025/1.025, allocations: 169.3 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002918/0.002918, allocations: 95.86 kB / 0.681 GB, free: 7.434 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4363/0.4393, allocations: 86.99 MB / 0.766 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselY1): time 0.001595/0.4409, allocations: 0.5744 MB / 0.7665 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000655/0.4416, allocations: 298.9 kB / 0.7668 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.232e-05/0.4416, allocations: 0 / 0.7668 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.146e-05/0.4416, allocations: 0 / 0.7668 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.011e-06/0.4416, allocations: 0 / 0.7668 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004757/0.4421, allocations: 103.7 kB / 0.7669 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.06e-05/0.4422, allocations: 11.92 kB / 0.7669 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.882e-05/0.4422, allocations: 3.984 kB / 0.7669 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.54e-05/0.4422, allocations: 4 kB / 0.7669 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.792e-05/0.4423, allocations: 0 / 0.7669 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.462e-06/0.4423, allocations: 0 / 0.7669 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002637/0.4425, allocations: 131.7 kB / 0.767 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.075e-06/0.4426, allocations: 3.938 kB / 0.767 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.514e-05/0.4426, allocations: 0 / 0.767 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.4427, allocations: 67.69 kB / 0.7671 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.4427, allocations: 4 kB / 0.7671 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.312e-06/0.4428, allocations: 0 / 0.7671 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.289e-06/0.4428, allocations: 0 / 0.7671 GB, free: 2.676 MB / 0.5294 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.0003527/0.4431, allocations: 332.7 kB / 0.7674 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.4432, allocations: 8.031 kB / 0.7674 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.365e-05/0.4432, allocations: 30.75 kB / 0.7675 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.896e-05/0.4432, allocations: 0.9375 kB / 0.7675 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.4433, allocations: 160.4 kB / 0.7676 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.4434, allocations: 384 / 0.7676 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.4434, allocations: 4.375 kB / 0.7676 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.438e-05/0.4435, allocations: 38.2 kB / 0.7677 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.4435, allocations: 11.92 kB / 0.7677 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.682e-06/0.4435, allocations: 0 / 0.7677 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.4435, allocations: 0 / 0.7677 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.002e-05/0.4435, allocations: 4 kB / 0.7677 GB, free: 2 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001462/0.4437, allocations: 141.7 kB / 0.7678 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.733e-05/0.4437, allocations: 14.58 kB / 0.7678 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.283e-05/0.4438, allocations: 20.89 kB / 0.7678 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008426/0.4446, allocations: 465.4 kB / 0.7683 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.4446, allocations: 34.56 kB / 0.7683 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 3.266e-06/0.4447, allocations: 4 kB / 0.7683 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001278/0.4448, allocations: 41.58 kB / 0.7684 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.4448, allocations: 51.41 kB / 0.7684 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.626e-05/0.4449, allocations: 89.86 kB / 0.7685 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.4449, allocations: 25.7 kB / 0.7685 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.054e-05/0.4449, allocations: 80.14 kB / 0.7686 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.445, allocations: 3.953 kB / 0.7686 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.734e-05/0.445, allocations: 17.84 kB / 0.7686 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.4451, allocations: 314.8 kB / 0.7689 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.345e-05/0.4452, allocations: 4 kB / 0.7689 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.569e-06/0.4452, allocations: 3.938 kB / 0.7689 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.959e-05/0.4452, allocations: 8.859 kB / 0.7689 GB, free: 500 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.4452, allocations: 0 / 0.7689 GB, free: 500 kB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.968e-05/0.4453, allocations: 33.64 kB / 0.769 GB, free: 460 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.4453, allocations: 8.094 kB / 0.769 GB, free: 452 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.4453, allocations: 7.938 kB / 0.769 GB, free: 444 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.4453, allocations: 0 / 0.769 GB, free: 444 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.631e-05/0.4453, allocations: 3.984 kB / 0.769 GB, free: 440 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.4454, allocations: 0 / 0.769 GB, free: 440 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.117e-05/0.4454, allocations: 4 kB / 0.769 GB, free: 436 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.4454, allocations: 0 / 0.769 GB, free: 436 kB / 0.5294 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 (1): * Single equations (assignments): 1 * 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 7.776e-05/0.4455, allocations: 109.8 kB / 0.7691 GB, free: 316 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.001e-06/0.4455, allocations: 0 / 0.7691 GB, free: 316 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.448e-05/0.4456, allocations: 44.77 kB / 0.7691 GB, free: 268 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.4456, allocations: 3.984 kB / 0.7691 GB, free: 264 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/0.4456, allocations: 7.984 kB / 0.7692 GB, free: 256 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.4456, allocations: 0 / 0.7692 GB, free: 256 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001026/0.4457, allocations: 145.7 kB / 0.7693 GB, free: 60 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4457, allocations: 0 / 0.7693 GB, free: 60 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.12e-05/0.4457, allocations: 0 / 0.7693 GB, free: 60 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.4457, allocations: 4 kB / 0.7693 GB, free: 56 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.4457, allocations: 3.938 kB / 0.7693 GB, free: 52 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.4457, allocations: 0 / 0.7693 GB, free: 52 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4457, allocations: 0 / 0.7693 GB, free: 52 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.648e-05/0.4458, allocations: 65.09 kB / 0.7694 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.82e-05/0.4459, allocations: 77.11 kB / 0.7694 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.4459, allocations: 7.938 kB / 0.7694 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.366e-05/0.4459, allocations: 7.938 kB / 0.7695 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.243e-05/0.4459, allocations: 0 / 0.7695 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-06/0.4459, allocations: 0 / 0.7695 GB, free: 15.86 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.481e-05/0.446, allocations: 75.28 kB / 0.7695 GB, free: 15.79 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.446, allocations: 4.031 kB / 0.7695 GB, free: 15.78 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002895/0.4463, allocations: 31.92 kB / 0.7696 GB, free: 15.75 MB / 0.545 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 (1): * Single equations (assignments): 1 * 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.0005136/0.4468, allocations: 0.6358 MB / 0.7702 GB, free: 15.08 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.304e-05/0.4469, allocations: 4 kB / 0.7702 GB, free: 15.08 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.4469, allocations: 0 / 0.7702 GB, free: 15.08 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.39e-06/0.4469, allocations: 0 / 0.7702 GB, free: 15.08 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001572/0.4471, allocations: 6.5 kB / 0.7702 GB, free: 15.07 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003313/0.4474, allocations: 128.7 kB / 0.7703 GB, free: 14.91 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.4477, allocations: 0.669 MB / 0.771 GB, free: 14.21 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.331e-05/0.4477, allocations: 3.984 kB / 0.771 GB, free: 14.21 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.436e-05/0.4478, allocations: 7.438 kB / 0.771 GB, free: 14.2 MB / 0.545 GB Notification: Performance of SimCode: time 2.8e-07/0.4478, allocations: 3.938 kB / 0.771 GB, free: 14.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02148/0.4693, allocations: 1.412 MB / 0.7724 GB, free: 12.89 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.707/8.177, allocations: 8.562 kB / 0.7724 GB, free: 12.88 MB / 0.545 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/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)