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: translateModel(BuildingSystems.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1") translateModel(BuildingSystems.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 104.2 kB / 15.98 MB, free: 6.355 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.001227/0.001227, allocations: 196.5 kB / 16.91 MB, free: 6.191 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.207/1.207, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001962/0.001962, allocations: 293.5 kB / 291 MB, free: 14.73 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.865/0.865, allocations: 169.2 MB / 0.4985 GB, free: 4.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 92.58 kB / 0.5953 GB, free: 15.54 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1434, allocations: 86.97 MB / 0.6803 GB, free: 8.582 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselY1): time 0.002237/0.1456, allocations: 1.496 MB / 0.6817 GB, free: 7.066 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005592/0.1462, allocations: 360.4 kB / 0.6821 GB, free: 6.711 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.949e-05/0.1463, allocations: 0 / 0.6821 GB, free: 6.711 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.401e-05/0.1463, allocations: 0 / 0.6821 GB, free: 6.711 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.859e-05/0.1463, allocations: 3.938 kB / 0.6821 GB, free: 6.707 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003556/0.1467, allocations: 95.84 kB / 0.6822 GB, free: 6.613 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.195e-05/0.1467, allocations: 19.94 kB / 0.6822 GB, free: 6.594 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.415e-05/0.1468, allocations: 11.98 kB / 0.6822 GB, free: 6.582 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.003e-05/0.1468, allocations: 7.938 kB / 0.6822 GB, free: 6.574 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.191e-05/0.1469, allocations: 15.97 kB / 0.6822 GB, free: 6.559 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.364e-06/0.1469, allocations: 0 / 0.6822 GB, free: 6.559 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001946/0.1471, allocations: 139.7 kB / 0.6824 GB, free: 6.422 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.127e-06/0.1471, allocations: 4 kB / 0.6824 GB, free: 6.418 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.041e-05/0.1471, allocations: 7.922 kB / 0.6824 GB, free: 6.41 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001055/0.1472, allocations: 59.91 kB / 0.6824 GB, free: 6.352 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1473, allocations: 0 / 0.6824 GB, free: 6.352 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1473, allocations: 7.938 kB / 0.6824 GB, free: 6.344 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.818e-06/0.1473, allocations: 0 / 0.6824 GB, free: 6.344 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.0003773/0.1477, allocations: 347.8 kB / 0.6828 GB, free: 5.953 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.842e-05/0.1477, allocations: 15.97 kB / 0.6828 GB, free: 5.938 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.29e-05/0.1477, allocations: 4.844 kB / 0.6828 GB, free: 5.934 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.932e-05/0.1478, allocations: 168.4 kB / 0.6829 GB, free: 5.73 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.941e-06/0.1478, allocations: 4.312 kB / 0.6829 GB, free: 5.727 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.1478, allocations: 384 / 0.6829 GB, free: 5.727 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.148, allocations: 54.23 kB / 0.683 GB, free: 5.668 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.62e-06/0.148, allocations: 192 / 0.683 GB, free: 5.668 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.148, allocations: 3.938 kB / 0.683 GB, free: 5.664 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-06/0.148, allocations: 0 / 0.683 GB, free: 5.664 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001421/0.1482, allocations: 31.97 kB / 0.683 GB, free: 5.633 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002584/0.1484, allocations: 252.9 kB / 0.6833 GB, free: 5.336 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.1486, allocations: 42.5 kB / 0.6833 GB, free: 5.285 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.504e-05/0.1486, allocations: 16.91 kB / 0.6833 GB, free: 5.266 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006414/0.1493, allocations: 477.4 kB / 0.6838 GB, free: 4.707 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.1493, allocations: 30.56 kB / 0.6838 GB, free: 4.668 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.1493, allocations: 0 / 0.6838 GB, free: 4.668 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003058/0.1496, allocations: 85.67 kB / 0.6839 GB, free: 4.578 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/0.1497, allocations: 55.44 kB / 0.684 GB, free: 4.512 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.747e-05/0.1497, allocations: 93.86 kB / 0.684 GB, free: 4.41 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.1497, allocations: 33.7 kB / 0.6841 GB, free: 4.371 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.233e-05/0.1498, allocations: 88.03 kB / 0.6842 GB, free: 4.281 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.254e-05/0.1498, allocations: 0 / 0.6842 GB, free: 4.281 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-05/0.1498, allocations: 13.72 kB / 0.6842 GB, free: 4.262 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.114e-05/0.1499, allocations: 314.8 kB / 0.6845 GB, free: 3.945 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.574e-05/0.15, allocations: 15.98 kB / 0.6845 GB, free: 3.93 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.498e-05/0.1501, allocations: 23.97 kB / 0.6845 GB, free: 3.906 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.1502, allocations: 36.83 kB / 0.6845 GB, free: 3.867 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.1502, allocations: 0 / 0.6845 GB, free: 3.867 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001675/0.1504, allocations: 81.5 kB / 0.6846 GB, free: 3.781 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.1504, allocations: 6.031 kB / 0.6846 GB, free: 3.777 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.1504, allocations: 0 / 0.6846 GB, free: 3.777 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.156e-06/0.1504, allocations: 0 / 0.6846 GB, free: 3.777 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.58e-05/0.1505, allocations: 11.98 kB / 0.6846 GB, free: 3.766 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.1505, allocations: 0 / 0.6846 GB, free: 3.766 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.277e-05/0.1505, allocations: 7.938 kB / 0.6846 GB, free: 3.758 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.834e-06/0.1506, allocations: 0 / 0.6846 GB, free: 3.758 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 6.388e-05/0.1506, allocations: 125.7 kB / 0.6848 GB, free: 3.625 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.071e-05/0.1507, allocations: 4 kB / 0.6848 GB, free: 3.621 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001917/0.1509, allocations: 68.72 kB / 0.6848 GB, free: 3.547 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.1509, allocations: 4 kB / 0.6848 GB, free: 3.543 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.1509, allocations: 192 / 0.6848 GB, free: 3.543 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-06/0.1509, allocations: 0 / 0.6848 GB, free: 3.543 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/0.151, allocations: 161.6 kB / 0.685 GB, free: 3.336 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.151, allocations: 0 / 0.685 GB, free: 3.336 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.385e-05/0.1511, allocations: 12.02 kB / 0.685 GB, free: 3.324 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.1511, allocations: 7.938 kB / 0.685 GB, free: 3.316 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.1511, allocations: 4 kB / 0.685 GB, free: 3.312 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1511, allocations: 0 / 0.685 GB, free: 3.312 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1511, allocations: 0 / 0.685 GB, free: 3.312 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002041/0.1513, allocations: 159.5 kB / 0.6852 GB, free: 3.141 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.08e-05/0.1514, allocations: 85.05 kB / 0.6852 GB, free: 3.039 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.1514, allocations: 7.922 kB / 0.6853 GB, free: 3.031 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.731e-05/0.1515, allocations: 4 kB / 0.6853 GB, free: 3.027 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.898e-05/0.1515, allocations: 4 kB / 0.6853 GB, free: 3.023 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.1515, allocations: 4 kB / 0.6853 GB, free: 3.02 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.686e-05/0.1515, allocations: 79.27 kB / 0.6853 GB, free: 2.941 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1515, allocations: 4 kB / 0.6853 GB, free: 2.938 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002375/0.1518, allocations: 28 kB / 0.6854 GB, free: 2.91 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.0002144/0.152, allocations: 135.2 kB / 0.6855 GB, free: 2.766 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001923/0.1522, allocations: 39.95 kB / 0.6855 GB, free: 2.727 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1522, allocations: 4.062 kB / 0.6855 GB, free: 2.723 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.588e-05/0.1523, allocations: 15.98 kB / 0.6856 GB, free: 2.707 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.1525, allocations: 7.938 kB / 0.6856 GB, free: 2.699 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002157/0.1527, allocations: 139.2 kB / 0.6857 GB, free: 2.531 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001955/0.1529, allocations: 0.6807 MB / 0.6864 GB, free: 1.824 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.046e-05/0.153, allocations: 7.438 kB / 0.6864 GB, free: 1.816 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.153, allocations: 4.062 kB / 0.6864 GB, free: 1.812 MB / 494.1 MB Notification: Performance of Templates: time 0.002141/0.1551, allocations: 0.9891 MB / 0.6873 GB, free: 0.8281 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.makefile (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe 2>&1)