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: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselY1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselY1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005159/0.005159, allocations: 100.9 kB / 15.73 MB, free: 6.027 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.001308/0.001308, allocations: 183.5 kB / 16.67 MB, free: 5.965 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002105/0.002105, allocations: 294.1 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9691/0.9691, allocations: 169.3 MB / 0.4983 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 95.86 kB / 0.6815 GB, free: 15.45 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1554, allocations: 86.98 MB / 0.7664 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselY1): time 0.001671/0.1571, allocations: 0.576 MB / 0.767 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005931/0.1577, allocations: 299 kB / 0.7673 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.032e-05/0.1577, allocations: 0 / 0.7673 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.275e-05/0.1577, allocations: 0 / 0.7673 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.04e-06/0.1577, allocations: 0 / 0.7673 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004295/0.1582, allocations: 101.7 kB / 0.7674 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 2.894e-05/0.1582, allocations: 7.984 kB / 0.7674 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.124e-05/0.1583, allocations: 7.922 kB / 0.7674 GB, free: 7.406 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.658e-06/0.1583, allocations: 4 kB / 0.7674 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 1.384e-05/0.1583, allocations: 0 / 0.7674 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.418e-06/0.1583, allocations: 0 / 0.7674 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002187/0.1585, allocations: 127.8 kB / 0.7675 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.871e-06/0.1585, allocations: 4 kB / 0.7675 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.32e-05/0.1586, allocations: 4 kB / 0.7675 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.1587, allocations: 67.83 kB / 0.7676 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1587, allocations: 0 / 0.7676 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1587, allocations: 0 / 0.7676 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.1587, allocations: 3.938 kB / 0.7676 GB, free: 7.199 MB / 0.5606 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.0002711/0.159, allocations: 335.6 kB / 0.7679 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.974e-05/0.159, allocations: 12.03 kB / 0.7679 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.924e-05/0.1591, allocations: 0.9375 kB / 0.7679 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.484e-05/0.1592, allocations: 160.4 kB / 0.7681 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.36e-06/0.1592, allocations: 384 / 0.7681 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.134e-06/0.1592, allocations: 384 / 0.7681 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.526e-05/0.1592, allocations: 30.27 kB / 0.7681 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-06/0.1593, allocations: 192 / 0.7681 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.582e-06/0.1593, allocations: 7.875 kB / 0.7681 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.966e-06/0.1593, allocations: 0 / 0.7681 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.762e-05/0.1593, allocations: 11.92 kB / 0.7681 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001129/0.1594, allocations: 149.7 kB / 0.7683 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 2.669e-05/0.1595, allocations: 14.58 kB / 0.7683 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.159e-05/0.1595, allocations: 4.859 kB / 0.7683 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007211/0.1602, allocations: 473.5 kB / 0.7687 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.1602, allocations: 34.55 kB / 0.7688 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.1602, allocations: 0 / 0.7688 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 9.965e-05/0.1603, allocations: 37.58 kB / 0.7688 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.505e-05/0.1604, allocations: 51.41 kB / 0.7689 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.975e-05/0.1604, allocations: 93.98 kB / 0.7689 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.1604, allocations: 29.7 kB / 0.769 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.306e-05/0.1605, allocations: 80.14 kB / 0.7691 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.1605, allocations: 7.906 kB / 0.7691 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.458e-05/0.1605, allocations: 9.719 kB / 0.7691 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.1606, allocations: 310.8 kB / 0.7694 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.496e-06/0.1606, allocations: 7.984 kB / 0.7694 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.69e-06/0.1607, allocations: 0 / 0.7694 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.091e-05/0.1607, allocations: 12.92 kB / 0.7694 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1607, allocations: 0 / 0.7694 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.193e-05/0.1607, allocations: 37.64 kB / 0.7694 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/0.1608, allocations: 4 kB / 0.7694 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-06/0.1608, allocations: 0 / 0.7694 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.1608, allocations: 7.938 kB / 0.7694 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.788e-05/0.1608, allocations: 0 / 0.7694 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.1608, allocations: 0 / 0.7694 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.316e-06/0.1608, allocations: 0 / 0.7694 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.1608, allocations: 8.016 kB / 0.7694 GB, free: 4.988 MB / 0.5606 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 5.742e-05/0.1609, allocations: 114.4 kB / 0.7695 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.123e-06/0.1609, allocations: 0 / 0.7695 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.627e-05/0.161, allocations: 40.77 kB / 0.7696 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.161, allocations: 0 / 0.7696 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.161, allocations: 7.875 kB / 0.7696 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.161, allocations: 0 / 0.7696 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.554e-05/0.1611, allocations: 153.7 kB / 0.7697 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1611, allocations: 7.938 kB / 0.7697 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.084e-05/0.1611, allocations: 4.031 kB / 0.7698 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1611, allocations: 0 / 0.7698 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.1612, allocations: 3.938 kB / 0.7698 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1612, allocations: 0 / 0.7698 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1612, allocations: 0 / 0.7698 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.743e-05/0.1612, allocations: 65.12 kB / 0.7698 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.763e-05/0.1613, allocations: 77.11 kB / 0.7699 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.178e-06/0.1613, allocations: 7.969 kB / 0.7699 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.536e-06/0.1613, allocations: 3.984 kB / 0.7699 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.185e-05/0.1613, allocations: 4 kB / 0.7699 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-06/0.1613, allocations: 0 / 0.7699 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.061e-05/0.1614, allocations: 75.28 kB / 0.77 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1614, allocations: 0 / 0.77 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002154/0.1616, allocations: 27.98 kB / 0.77 GB, free: 4.309 MB / 0.5606 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.0002206/0.1618, allocations: 139.2 kB / 0.7701 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 4.923e-05/0.1619, allocations: 4 kB / 0.7701 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.1619, allocations: 0 / 0.7701 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.561e-06/0.1619, allocations: 0 / 0.7701 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001129/0.162, allocations: 8.125 kB / 0.7702 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001475/0.1621, allocations: 81.62 kB / 0.7702 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002017/0.1624, allocations: 0.669 MB / 0.7709 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.018e-05/0.1624, allocations: 4 kB / 0.7709 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.052e-05/0.1624, allocations: 7.438 kB / 0.7709 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.1624, allocations: 0 / 0.7709 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of Templates: time 0.002313/0.1647, allocations: 0.6451 MB / 0.7715 GB, free: 2.691 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.makefile (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1)