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.0015/0.001501, allocations: 108 kB / 15.6 MB, free: 132 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.001535/0.001535, allocations: 198.1 kB / 16.54 MB, free: 6.672 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.356/1.356, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002438/0.002438, allocations: 294.9 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.026/1.026, allocations: 178.6 MB / 0.5073 GB, free: 4.559 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002657/0.002657, allocations: 98.58 kB / 0.6066 GB, free: 24.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1471, allocations: 89.14 MB / 0.6936 GB, free: 4.211 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselY1): time 0.001997/0.1492, allocations: 0.5872 MB / 0.6942 GB, free: 3.625 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006299/0.1498, allocations: 299.1 kB / 0.6945 GB, free: 3.336 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.219e-05/0.1499, allocations: 4 kB / 0.6945 GB, free: 3.332 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.39e-05/0.1499, allocations: 0 / 0.6945 GB, free: 3.332 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.609e-06/0.1499, allocations: 0 / 0.6945 GB, free: 3.332 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004213/0.1503, allocations: 107.6 kB / 0.6946 GB, free: 3.227 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.504e-05/0.1504, allocations: 0.6562 kB / 0.6946 GB, free: 3.227 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.959e-05/0.1504, allocations: 7.984 kB / 0.6946 GB, free: 3.219 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.119e-05/0.1504, allocations: 1.875 kB / 0.6946 GB, free: 3.219 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.541e-05/0.1504, allocations: 0 / 0.6946 GB, free: 3.219 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.76e-06/0.1505, allocations: 0 / 0.6946 GB, free: 3.219 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002447/0.1507, allocations: 131.7 kB / 0.6947 GB, free: 3.09 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.602e-06/0.1507, allocations: 0 / 0.6947 GB, free: 3.09 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.269e-05/0.1507, allocations: 2.375 kB / 0.6947 GB, free: 3.09 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.1509, allocations: 71.89 kB / 0.6948 GB, free: 3.02 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1509, allocations: 0 / 0.6948 GB, free: 3.02 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1509, allocations: 0 / 0.6948 GB, free: 3.02 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.1509, allocations: 0 / 0.6948 GB, free: 3.02 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.0003151/0.1512, allocations: 323.6 kB / 0.6951 GB, free: 2.652 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.1513, allocations: 8.688 kB / 0.6951 GB, free: 2.645 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.874e-05/0.1513, allocations: 32.47 kB / 0.6951 GB, free: 2.605 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.907e-05/0.1514, allocations: 8.875 kB / 0.6951 GB, free: 2.598 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.1515, allocations: 170.3 kB / 0.6953 GB, free: 2.395 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.1515, allocations: 4.375 kB / 0.6953 GB, free: 2.391 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.151e-06/0.1515, allocations: 4.312 kB / 0.6953 GB, free: 2.387 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.255e-05/0.1516, allocations: 30.27 kB / 0.6953 GB, free: 2.352 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.1516, allocations: 3.938 kB / 0.6953 GB, free: 2.348 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.1516, allocations: 4 kB / 0.6953 GB, free: 2.344 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.1516, allocations: 0 / 0.6953 GB, free: 2.344 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.57e-05/0.1516, allocations: 0 / 0.6953 GB, free: 2.344 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001464/0.1518, allocations: 145.7 kB / 0.6955 GB, free: 2.152 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.048e-05/0.1518, allocations: 26.55 kB / 0.6955 GB, free: 2.117 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.462e-05/0.1519, allocations: 8.859 kB / 0.6955 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007984/0.1527, allocations: 465.5 kB / 0.696 GB, free: 1.559 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.32e-05/0.1527, allocations: 34.56 kB / 0.696 GB, free: 1.516 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.1527, allocations: 0 / 0.696 GB, free: 1.516 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001289/0.1529, allocations: 41.62 kB / 0.696 GB, free: 1.469 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.1529, allocations: 51.41 kB / 0.6961 GB, free: 1.406 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.109e-05/0.153, allocations: 89.86 kB / 0.6962 GB, free: 1.309 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.153, allocations: 25.7 kB / 0.6962 GB, free: 1.277 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.266e-05/0.153, allocations: 80.14 kB / 0.6963 GB, free: 1.195 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.1531, allocations: 7.906 kB / 0.6963 GB, free: 1.188 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.731e-05/0.1531, allocations: 17.78 kB / 0.6963 GB, free: 1.164 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.1532, allocations: 314.8 kB / 0.6966 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.002e-05/0.1532, allocations: 4 kB / 0.6966 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.538e-06/0.1532, allocations: 0 / 0.6966 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.161e-05/0.1533, allocations: 4.859 kB / 0.6966 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1533, allocations: 4 kB / 0.6966 GB, free: 0.832 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.38e-05/0.1533, allocations: 33.69 kB / 0.6966 GB, free: 0.793 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.1534, allocations: 4 kB / 0.6966 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.1534, allocations: 12.03 kB / 0.6967 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.1534, allocations: 0 / 0.6967 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.369e-05/0.1534, allocations: 4 kB / 0.6967 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1534, allocations: 3.938 kB / 0.6967 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.937e-06/0.1534, allocations: 0 / 0.6967 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-06/0.1534, allocations: 0 / 0.6967 GB, free: 0.7695 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.144e-05/0.1535, allocations: 110.8 kB / 0.6968 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.985e-06/0.1535, allocations: 7.938 kB / 0.6968 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.981e-05/0.1536, allocations: 44.75 kB / 0.6968 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1536, allocations: 0 / 0.6968 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.1536, allocations: 0 / 0.6968 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.1536, allocations: 0 / 0.6968 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.856e-05/0.1537, allocations: 149.6 kB / 0.697 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.1537, allocations: 0 / 0.697 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.351e-05/0.1538, allocations: 4 kB / 0.697 GB, free: 408 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.1538, allocations: 0 / 0.697 GB, free: 408 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.1538, allocations: 7.875 kB / 0.697 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1538, allocations: 0 / 0.697 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1538, allocations: 0 / 0.697 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.36e-05/0.1539, allocations: 65.11 kB / 0.697 GB, free: 316 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.33e-05/0.1539, allocations: 81.09 kB / 0.6971 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.02e-05/0.1539, allocations: 3.938 kB / 0.6971 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.673e-06/0.1539, allocations: 0 / 0.6971 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.435e-06/0.154, allocations: 0 / 0.6971 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.154, allocations: 3.984 kB / 0.6971 GB, free: 208 kB / 494.1 MB Notification: Performance of sorting global known variables: time 2.905e-05/0.154, allocations: 79.28 kB / 0.6972 GB, free: 128 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.154, allocations: 4.031 kB / 0.6972 GB, free: 124 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002211/0.1542, allocations: 28 kB / 0.6972 GB, free: 96 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.000517/0.1547, allocations: 0.6358 MB / 0.6978 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.094e-05/0.1548, allocations: 4 kB / 0.6978 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1548, allocations: 0 / 0.6978 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.198e-06/0.1548, allocations: 4 kB / 0.6979 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001219/0.155, allocations: 3.984 kB / 0.6979 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002817/0.1553, allocations: 118.9 kB / 0.698 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.1555, allocations: 0.6729 MB / 0.6986 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.287e-06/0.1555, allocations: 0 / 0.6986 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.753e-05/0.1556, allocations: 11.44 kB / 0.6986 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of SimCode: time 2.114e-06/0.1556, allocations: 0 / 0.6986 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02021/0.1758, allocations: 1.401 MB / 0.7 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.348/7.523, allocations: 16.38 kB / 0.7 GB, free: 13.22 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1_res.csv --start-time 0.1 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01196 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselY1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1)