Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.Examples.BesselY1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselY1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_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.001082/0.001087, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001075/0.001075, allocations: 193.8 kB / 16.25 MB, free: 6.617 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.29/1.29, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001963/0.001963, allocations: 274.9 kB / 290.3 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9267/0.9267, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001593, allocations: 93.56 kB / 0.5948 GB, free: 28.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1498, allocations: 86.98 MB / 0.6797 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselY1): time 0.002498/0.1524, allocations: 1.491 MB / 0.6812 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005538/0.1529, allocations: 359.5 kB / 0.6815 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.059e-05/0.153, allocations: 0 / 0.6815 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.528e-05/0.153, allocations: 0 / 0.6815 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.302e-05/0.153, allocations: 1.75 kB / 0.6815 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003654/0.1534, allocations: 95.78 kB / 0.6816 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.46e-05/0.1535, allocations: 19.94 kB / 0.6816 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.606e-05/0.1535, allocations: 12.69 kB / 0.6817 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.044e-05/0.1536, allocations: 11.94 kB / 0.6817 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.918e-05/0.1536, allocations: 12.86 kB / 0.6817 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.224e-06/0.1536, allocations: 0 / 0.6817 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002108/0.1538, allocations: 143.7 kB / 0.6818 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.736e-06/0.1539, allocations: 4.562 kB / 0.6818 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.735e-05/0.1539, allocations: 9.391 kB / 0.6818 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.154, allocations: 99.97 kB / 0.6819 GB, free: 14.71 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.154, allocations: 0 / 0.6819 GB, free: 14.71 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1541, allocations: 0 / 0.6819 GB, free: 14.71 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.1541, allocations: 0.6562 kB / 0.6819 GB, free: 14.71 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004061/0.1545, allocations: 359.4 kB / 0.6823 GB, free: 14.3 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.1545, allocations: 8.031 kB / 0.6823 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.816e-05/0.1545, allocations: 30.75 kB / 0.6823 GB, free: 14.26 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.153e-05/0.1546, allocations: 8.938 kB / 0.6823 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.1547, allocations: 164.4 kB / 0.6825 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.367e-06/0.1547, allocations: 384 / 0.6825 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.736e-06/0.1547, allocations: 384 / 0.6825 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.1549, allocations: 54.17 kB / 0.6825 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.1549, allocations: 7.938 kB / 0.6825 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.1549, allocations: 4 kB / 0.6825 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1549, allocations: 0 / 0.6825 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001431/0.1551, allocations: 31.95 kB / 0.6826 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002777/0.1553, allocations: 240.9 kB / 0.6828 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.1555, allocations: 50.47 kB / 0.6828 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.895e-05/0.1556, allocations: 24.91 kB / 0.6829 GB, free: 13.58 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006553/0.1562, allocations: 477.4 kB / 0.6833 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.1563, allocations: 34.56 kB / 0.6834 GB, free: 12.98 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1563, allocations: 0 / 0.6834 GB, free: 12.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003109/0.1566, allocations: 77.55 kB / 0.6834 GB, free: 12.89 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.1566, allocations: 55.41 kB / 0.6835 GB, free: 12.83 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.016e-05/0.1567, allocations: 106 kB / 0.6836 GB, free: 12.71 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.1567, allocations: 25.7 kB / 0.6836 GB, free: 12.68 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.319e-05/0.1568, allocations: 84.14 kB / 0.6837 GB, free: 12.6 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.1568, allocations: 7.844 kB / 0.6837 GB, free: 12.59 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.768e-05/0.1568, allocations: 13.72 kB / 0.6837 GB, free: 12.57 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.1569, allocations: 314.8 kB / 0.684 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.592e-05/0.157, allocations: 19.98 kB / 0.684 GB, free: 12.23 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.561e-05/0.1571, allocations: 19.92 kB / 0.684 GB, free: 12.21 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.1572, allocations: 44.81 kB / 0.6841 GB, free: 12.17 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.1573, allocations: 3.938 kB / 0.6841 GB, free: 12.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001673/0.1574, allocations: 57.67 kB / 0.6841 GB, free: 12.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.1574, allocations: 10.19 kB / 0.6842 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.1575, allocations: 4.094 kB / 0.6842 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.1575, allocations: 0 / 0.6842 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.496e-05/0.1576, allocations: 7.984 kB / 0.6842 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.1576, allocations: 4 kB / 0.6842 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.229e-05/0.1576, allocations: 3.984 kB / 0.6842 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-06/0.1576, allocations: 4 kB / 0.6842 GB, free: 12.07 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 (2): * Single equations (assignments): 2 * 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.026e-05/0.1577, allocations: 117.7 kB / 0.6843 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.059e-05/0.1577, allocations: 0 / 0.6843 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001973/0.1579, allocations: 76.97 kB / 0.6844 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.1579, allocations: 3.984 kB / 0.6844 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.158, allocations: 0 / 0.6844 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.158, allocations: 0 / 0.6844 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.1581, allocations: 161.6 kB / 0.6845 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1581, allocations: 0 / 0.6845 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.417e-05/0.1582, allocations: 11.98 kB / 0.6845 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.1582, allocations: 0 / 0.6845 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.1582, allocations: 4.031 kB / 0.6845 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1582, allocations: 3.938 kB / 0.6845 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1582, allocations: 0 / 0.6845 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.1585, allocations: 171.4 kB / 0.6847 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.003e-05/0.1585, allocations: 81.02 kB / 0.6848 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/0.1585, allocations: 4 kB / 0.6848 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.895e-05/0.1586, allocations: 12.02 kB / 0.6848 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.982e-05/0.1586, allocations: 0 / 0.6848 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.1586, allocations: 0 / 0.6848 GB, free: 11.34 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.279e-05/0.1587, allocations: 83.28 kB / 0.6849 GB, free: 11.25 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1587, allocations: 0 / 0.6849 GB, free: 11.25 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002471/0.1589, allocations: 31.98 kB / 0.6849 GB, free: 11.22 MB / 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 (2): * Single equations (assignments): 2 * 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.0005773/0.1595, allocations: 0.7286 MB / 0.6856 GB, free: 10.46 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001916/0.1597, allocations: 40 kB / 0.6857 GB, free: 10.43 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1597, allocations: 0 / 0.6857 GB, free: 10.43 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.073e-05/0.1598, allocations: 23.97 kB / 0.6857 GB, free: 10.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.16, allocations: 0 / 0.6857 GB, free: 10.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004053/0.1605, allocations: 155.4 kB / 0.6858 GB, free: 10.21 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/0.1607, allocations: 0.6806 MB / 0.6865 GB, free: 9.504 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.027e-05/0.1608, allocations: 0 / 0.6865 GB, free: 9.504 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.84e-05/0.1608, allocations: 11.44 kB / 0.6865 GB, free: 9.492 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1608, allocations: 0 / 0.6865 GB, free: 9.492 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01111/0.1719, allocations: 1.627 MB / 0.6881 GB, free: 7.977 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001971/0.1721, allocations: 200.9 kB / 0.6883 GB, free: 7.723 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.002/2.174, allocations: 0 / 0.6883 GB, free: 7.723 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe 2>&1)