Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.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.BesselY0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006428/0.006428, allocations: 96.95 kB / 15.73 MB, free: 6.043 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.001464/0.001464, allocations: 196.1 kB / 16.67 MB, free: 5.969 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002127/0.002127, allocations: 274.5 kB / 290.8 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9731/0.9731, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 87.86 kB / 0.6815 GB, free: 15.43 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1507, allocations: 86.97 MB / 0.7664 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselY0): time 0.00138/0.1521, allocations: 0.576 MB / 0.767 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005034/0.1526, allocations: 283.1 kB / 0.7673 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.051e-05/0.1526, allocations: 3.938 kB / 0.7673 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.022e-05/0.1526, allocations: 0 / 0.7673 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.039e-06/0.1526, allocations: 0 / 0.7673 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003852/0.153, allocations: 95.72 kB / 0.7674 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 3.34e-05/0.1531, allocations: 8 kB / 0.7674 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.052e-05/0.1531, allocations: 0 / 0.7674 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.223e-05/0.1531, allocations: 3.938 kB / 0.7674 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 1.775e-05/0.1532, allocations: 7.969 kB / 0.7674 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.929e-06/0.1532, allocations: 0 / 0.7674 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002142/0.1534, allocations: 119.8 kB / 0.7675 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.4e-06/0.1534, allocations: 0 / 0.7675 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.123e-05/0.1534, allocations: 0 / 0.7675 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.1535, allocations: 71.77 kB / 0.7676 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.1536, allocations: 3.938 kB / 0.7676 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.555e-06/0.1536, allocations: 3.984 kB / 0.7676 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.1536, allocations: 0 / 0.7676 GB, free: 7.215 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.0002548/0.1538, allocations: 327.4 kB / 0.7679 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.825e-05/0.1539, allocations: 12.03 kB / 0.7679 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.253e-05/0.1539, allocations: 0.9375 kB / 0.7679 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.032e-05/0.154, allocations: 168.4 kB / 0.768 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.205e-06/0.154, allocations: 384 / 0.768 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.821e-06/0.154, allocations: 384 / 0.768 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.07e-05/0.1541, allocations: 30.25 kB / 0.7681 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.36e-06/0.1541, allocations: 4.188 kB / 0.7681 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.1541, allocations: 3.938 kB / 0.7681 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-06/0.1541, allocations: 0 / 0.7681 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.841e-05/0.1541, allocations: 0 / 0.7681 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001217/0.1543, allocations: 161.5 kB / 0.7682 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 2.905e-05/0.1543, allocations: 18.61 kB / 0.7683 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.244e-05/0.1543, allocations: 4.859 kB / 0.7683 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006231/0.1549, allocations: 453.5 kB / 0.7687 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.155, allocations: 42.55 kB / 0.7687 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.155, allocations: 0 / 0.7687 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001061/0.1551, allocations: 37.58 kB / 0.7688 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.373e-05/0.1551, allocations: 51.41 kB / 0.7688 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.862e-05/0.1552, allocations: 89.86 kB / 0.7689 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.1552, allocations: 29.7 kB / 0.7689 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.798e-05/0.1552, allocations: 80.14 kB / 0.769 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.169e-05/0.1552, allocations: 4.078 kB / 0.769 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.231e-05/0.1553, allocations: 17.72 kB / 0.769 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.85e-05/0.1553, allocations: 310.8 kB / 0.7693 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.633e-06/0.1554, allocations: 0 / 0.7693 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.754e-06/0.1554, allocations: 7.984 kB / 0.7693 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.821e-05/0.1554, allocations: 4.859 kB / 0.7693 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.1554, allocations: 0 / 0.7693 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.601e-05/0.1554, allocations: 41.64 kB / 0.7694 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.808e-06/0.1555, allocations: 8.094 kB / 0.7694 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.806e-06/0.1555, allocations: 0 / 0.7694 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.1555, allocations: 3.938 kB / 0.7694 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.086e-05/0.1555, allocations: 4 kB / 0.7694 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-06/0.1555, allocations: 0 / 0.7694 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.025e-06/0.1555, allocations: 0 / 0.7694 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.676e-06/0.1556, allocations: 0 / 0.7694 GB, free: 5.02 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.932e-05/0.1556, allocations: 110.5 kB / 0.7695 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.012e-06/0.1556, allocations: 0 / 0.7695 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.916e-05/0.1557, allocations: 56.69 kB / 0.7696 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.1557, allocations: 0 / 0.7696 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.1557, allocations: 3.938 kB / 0.7696 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.1557, allocations: 0 / 0.7696 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.772e-05/0.1558, allocations: 145.7 kB / 0.7697 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1558, allocations: 0 / 0.7697 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.205e-05/0.1558, allocations: 4 kB / 0.7697 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1558, allocations: 4 kB / 0.7697 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.1558, allocations: 7.875 kB / 0.7697 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.1558, allocations: 0 / 0.7697 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1559, allocations: 4.031 kB / 0.7697 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.371e-05/0.1559, allocations: 61.12 kB / 0.7698 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.139e-05/0.1559, allocations: 77.11 kB / 0.7698 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.686e-06/0.156, allocations: 3.938 kB / 0.7699 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.542e-06/0.156, allocations: 0 / 0.7699 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.027e-05/0.156, allocations: 0 / 0.7699 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-06/0.156, allocations: 0 / 0.7699 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.194e-05/0.156, allocations: 79.31 kB / 0.7699 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.156, allocations: 0 / 0.7699 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001976/0.1562, allocations: 31.92 kB / 0.77 GB, free: 4.344 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.0002095/0.1564, allocations: 148.3 kB / 0.7701 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 5.157e-05/0.1565, allocations: 0 / 0.7701 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1565, allocations: 0 / 0.7701 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.193e-06/0.1565, allocations: 8 kB / 0.7701 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001115/0.1566, allocations: 4 kB / 0.7701 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001286/0.1568, allocations: 76.97 kB / 0.7702 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001945/0.157, allocations: 0.6729 MB / 0.7708 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.042e-05/0.157, allocations: 4 kB / 0.7708 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.979e-06/0.157, allocations: 11.56 kB / 0.7709 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of SimCode: time 2.11e-07/0.157, allocations: 0 / 0.7709 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of Templates: time 0.002224/0.1592, allocations: 0.6333 MB / 0.7715 GB, free: 2.727 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1)