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.001688/0.001688, 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.00187/0.00187, allocations: 196.7 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.363/1.363, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002462/0.002462, allocations: 286.6 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.01/1.01, allocations: 178.6 MB / 0.5073 GB, free: 4.578 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00264/0.00264, allocations: 102.5 kB / 0.6066 GB, free: 24.7 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1663, allocations: 89.14 MB / 0.6936 GB, free: 4.223 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselY1): time 0.001762/0.1681, allocations: 0.5885 MB / 0.6942 GB, free: 3.637 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006258/0.1688, allocations: 298.1 kB / 0.6945 GB, free: 3.348 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.333e-05/0.1688, allocations: 0 / 0.6945 GB, free: 3.348 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.506e-05/0.1688, allocations: 0 / 0.6945 GB, free: 3.348 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.42e-06/0.1688, allocations: 3.938 kB / 0.6945 GB, free: 3.344 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004709/0.1693, allocations: 109 kB / 0.6946 GB, free: 3.238 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.825e-05/0.1693, allocations: 0 / 0.6946 GB, free: 3.238 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.866e-05/0.1694, allocations: 0 / 0.6946 GB, free: 3.238 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.28e-05/0.1694, allocations: 0.8125 kB / 0.6946 GB, free: 3.238 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.759e-05/0.1694, allocations: 4 kB / 0.6946 GB, free: 3.234 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.652e-06/0.1694, allocations: 0.6562 kB / 0.6946 GB, free: 3.234 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002526/0.1697, allocations: 131.7 kB / 0.6947 GB, free: 3.105 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.754e-06/0.1697, allocations: 3.469 kB / 0.6947 GB, free: 3.105 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.7e-05/0.1697, allocations: 3.984 kB / 0.6947 GB, free: 3.102 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.1699, allocations: 67.89 kB / 0.6948 GB, free: 3.035 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1699, allocations: 0 / 0.6948 GB, free: 3.035 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1699, allocations: 0 / 0.6948 GB, free: 3.035 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1699, allocations: 0 / 0.6948 GB, free: 3.035 MB / 494.1 MB 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.000335/0.1703, allocations: 327.6 kB / 0.6951 GB, free: 2.664 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.1703, allocations: 11.97 kB / 0.6951 GB, free: 2.652 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.726e-05/0.1704, allocations: 39.41 kB / 0.6951 GB, free: 2.605 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.035e-05/0.1704, allocations: 4.938 kB / 0.6951 GB, free: 2.602 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.1705, allocations: 167.6 kB / 0.6953 GB, free: 2.402 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.653e-06/0.1705, allocations: 384 / 0.6953 GB, free: 2.402 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-06/0.1705, allocations: 4.375 kB / 0.6953 GB, free: 2.398 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.474e-05/0.1706, allocations: 30.27 kB / 0.6953 GB, free: 2.363 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.1706, allocations: 3.938 kB / 0.6953 GB, free: 2.359 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.831e-06/0.1707, allocations: 0 / 0.6953 GB, free: 2.359 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.1707, allocations: 0 / 0.6953 GB, free: 2.359 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.411e-05/0.1707, allocations: 4 kB / 0.6953 GB, free: 2.355 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000138/0.1708, allocations: 153.6 kB / 0.6955 GB, free: 2.156 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.478e-05/0.1709, allocations: 18.52 kB / 0.6955 GB, free: 2.129 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.083e-05/0.1709, allocations: 8.953 kB / 0.6955 GB, free: 2.117 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007934/0.1717, allocations: 469.5 kB / 0.696 GB, free: 1.566 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.1717, allocations: 34.56 kB / 0.696 GB, free: 1.523 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.1717, allocations: 0 / 0.696 GB, free: 1.523 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001145/0.1719, allocations: 41.62 kB / 0.696 GB, free: 1.477 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.1719, allocations: 55.34 kB / 0.6961 GB, free: 1.41 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.828e-05/0.172, allocations: 89.86 kB / 0.6962 GB, free: 1.312 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.172, allocations: 25.7 kB / 0.6962 GB, free: 1.281 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.261e-05/0.172, allocations: 80.14 kB / 0.6963 GB, free: 1.199 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.172, allocations: 3.906 kB / 0.6963 GB, free: 1.195 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.661e-05/0.1721, allocations: 17.84 kB / 0.6963 GB, free: 1.172 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.1722, allocations: 314.8 kB / 0.6966 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.133e-06/0.1722, allocations: 0 / 0.6966 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.248e-06/0.1722, allocations: 0 / 0.6966 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.349e-05/0.1723, allocations: 8.859 kB / 0.6966 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.1723, allocations: 0 / 0.6966 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.753e-05/0.1723, allocations: 33.69 kB / 0.6966 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.1723, allocations: 8 kB / 0.6966 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.1724, allocations: 7.969 kB / 0.6967 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.1724, allocations: 4 kB / 0.6967 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.041e-05/0.1724, allocations: 0 / 0.6967 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.1724, allocations: 0 / 0.6967 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.372e-05/0.1724, allocations: 4 kB / 0.6967 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-06/0.1724, allocations: 7.938 kB / 0.6967 GB, free: 0.7734 MB / 494.1 MB 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.216e-05/0.1725, allocations: 106.8 kB / 0.6968 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.57e-06/0.1725, allocations: 0 / 0.6968 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.26e-05/0.1726, allocations: 40.75 kB / 0.6968 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.1726, allocations: 4.031 kB / 0.6968 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.1726, allocations: 0 / 0.6968 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1726, allocations: 4 kB / 0.6968 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001091/0.1727, allocations: 153.6 kB / 0.697 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.1728, allocations: 0 / 0.697 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.648e-06/0.1728, allocations: 0 / 0.697 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.1728, allocations: 0 / 0.697 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.1728, allocations: 11.88 kB / 0.697 GB, free: 408 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.1728, allocations: 0 / 0.697 GB, free: 408 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.1728, allocations: 4 kB / 0.697 GB, free: 404 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.505e-05/0.1729, allocations: 53.14 kB / 0.697 GB, free: 332 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.278e-05/0.1729, allocations: 81.09 kB / 0.6971 GB, free: 232 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.1729, allocations: 7.938 kB / 0.6971 GB, free: 224 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.684e-05/0.173, allocations: 7.938 kB / 0.6971 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.365e-05/0.173, allocations: 3.984 kB / 0.6971 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.173, allocations: 0 / 0.6971 GB, free: 212 kB / 494.1 MB Notification: Performance of sorting global known variables: time 3.071e-05/0.173, allocations: 75.28 kB / 0.6972 GB, free: 136 kB / 494.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.173, allocations: 32 / 0.6972 GB, free: 136 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002137/0.1732, allocations: 28 kB / 0.6972 GB, free: 108 kB / 494.1 MB 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.0005495/0.1738, allocations: 0.6397 MB / 0.6978 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.356e-05/0.1739, allocations: 4 kB / 0.6979 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1739, allocations: 0 / 0.6979 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.39e-06/0.1739, allocations: 0 / 0.6979 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001217/0.174, allocations: 9.703 kB / 0.6979 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002804/0.1743, allocations: 114.8 kB / 0.698 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.1746, allocations: 0.6807 MB / 0.6986 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.686e-06/0.1746, allocations: 0 / 0.6986 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.5e-05/0.1746, allocations: 7.438 kB / 0.6986 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1746, allocations: 3.938 kB / 0.6986 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.125/1.3, allocations: 1.394 MB / 0.7 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.176/9.476, allocations: 12.44 kB / 0.7 GB, free: 13.23 MB / 0.4981 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)