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.001446/0.001445, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001633/0.001633, allocations: 195.2 kB / 16.14 MB, free: 6.707 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.349/1.349, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001995/0.001995, allocations: 282.8 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.102/1.102, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001763, allocations: 91.48 kB / 0.5945 GB, free: 28.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1548, allocations: 86.98 MB / 0.6794 GB, free: 1.172 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselY1): time 0.001816/0.1567, allocations: 0.6492 MB / 0.6801 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007131/0.1574, allocations: 326.2 kB / 0.6804 GB, free: 220 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.199e-05/0.1575, allocations: 0 / 0.6804 GB, free: 220 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.497e-05/0.1575, allocations: 0 / 0.6804 GB, free: 220 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.049e-06/0.1575, allocations: 0 / 0.6804 GB, free: 220 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004582/0.158, allocations: 76.58 kB / 0.6805 GB, free: 144 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 3.4e-05/0.158, allocations: 8 kB / 0.6805 GB, free: 136 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.706e-05/0.1581, allocations: 0.6875 kB / 0.6805 GB, free: 136 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.082e-05/0.1581, allocations: 0 / 0.6805 GB, free: 136 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.914e-05/0.1581, allocations: 4.859 kB / 0.6805 GB, free: 132 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.621e-06/0.1581, allocations: 0 / 0.6805 GB, free: 132 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002997/0.1584, allocations: 140.6 kB / 0.6806 GB, free: 15.99 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.512e-06/0.1584, allocations: 1.281 kB / 0.6806 GB, free: 15.99 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.405e-05/0.1584, allocations: 3.906 kB / 0.6806 GB, free: 15.99 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000161/0.1586, allocations: 79.77 kB / 0.6807 GB, free: 15.91 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1586, allocations: 4 kB / 0.6807 GB, free: 15.91 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.1586, allocations: 0 / 0.6807 GB, free: 15.91 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.1586, allocations: 0 / 0.6807 GB, free: 15.91 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.0002793/0.1589, allocations: 323.6 kB / 0.681 GB, free: 15.54 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.159, allocations: 8.031 kB / 0.681 GB, free: 15.53 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.602e-05/0.159, allocations: 0.9375 kB / 0.681 GB, free: 15.53 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.725e-05/0.1591, allocations: 160.4 kB / 0.6812 GB, free: 15.34 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.1591, allocations: 8.375 kB / 0.6812 GB, free: 15.33 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.352e-06/0.1591, allocations: 384 / 0.6812 GB, free: 15.33 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.277e-05/0.1592, allocations: 34.25 kB / 0.6812 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.1592, allocations: 192 / 0.6812 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.1592, allocations: 3.938 kB / 0.6812 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.1592, allocations: 0 / 0.6812 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.742e-05/0.1593, allocations: 7.938 kB / 0.6812 GB, free: 15.28 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001296/0.1594, allocations: 141.7 kB / 0.6814 GB, free: 15.09 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.49e-05/0.1594, allocations: 22.61 kB / 0.6814 GB, free: 15.06 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.381e-05/0.1595, allocations: 4.859 kB / 0.6814 GB, free: 15.05 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007924/0.1603, allocations: 473.5 kB / 0.6818 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.1603, allocations: 34.56 kB / 0.6819 GB, free: 14.45 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.203e-06/0.1603, allocations: 7.938 kB / 0.6819 GB, free: 14.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001183/0.1604, allocations: 41.58 kB / 0.6819 GB, free: 14.4 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/0.1605, allocations: 51.41 kB / 0.682 GB, free: 14.34 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.126e-05/0.1605, allocations: 89.86 kB / 0.682 GB, free: 14.24 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.1605, allocations: 25.7 kB / 0.6821 GB, free: 14.21 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.296e-05/0.1605, allocations: 80.14 kB / 0.6821 GB, free: 14.12 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.1606, allocations: 0 / 0.6821 GB, free: 14.12 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.606e-05/0.1606, allocations: 17.7 kB / 0.6822 GB, free: 14.1 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.573e-05/0.1607, allocations: 319 kB / 0.6825 GB, free: 13.78 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.077e-06/0.1607, allocations: 0 / 0.6825 GB, free: 13.78 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.334e-06/0.1607, allocations: 4 kB / 0.6825 GB, free: 13.78 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.315e-05/0.1608, allocations: 4.859 kB / 0.6825 GB, free: 13.77 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.1608, allocations: 0 / 0.6825 GB, free: 13.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.907e-05/0.1608, allocations: 41.58 kB / 0.6825 GB, free: 13.72 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.1609, allocations: 4 kB / 0.6825 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.1609, allocations: 0 / 0.6825 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.1609, allocations: 12.02 kB / 0.6825 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.894e-05/0.1609, allocations: 8 kB / 0.6825 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1609, allocations: 0 / 0.6825 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.317e-06/0.161, allocations: 288 / 0.6825 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.161, allocations: 0 / 0.6825 GB, free: 13.7 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 6.261e-05/0.161, allocations: 111.2 kB / 0.6826 GB, free: 13.58 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.383e-06/0.161, allocations: 0 / 0.6826 GB, free: 13.58 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.501e-05/0.1611, allocations: 48.62 kB / 0.6827 GB, free: 13.53 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1611, allocations: 4.031 kB / 0.6827 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.1611, allocations: 4 kB / 0.6827 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1612, allocations: 0 / 0.6827 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.736e-05/0.1612, allocations: 141.7 kB / 0.6828 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1613, allocations: 0 / 0.6828 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.422e-05/0.1613, allocations: 4 kB / 0.6828 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1613, allocations: 0 / 0.6828 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.595e-06/0.1613, allocations: 3.938 kB / 0.6828 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.1613, allocations: 0 / 0.6828 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.1613, allocations: 3.984 kB / 0.6828 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.439e-05/0.1614, allocations: 57.14 kB / 0.6829 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.277e-05/0.1614, allocations: 85.02 kB / 0.683 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.808e-06/0.1614, allocations: 3.938 kB / 0.683 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.123e-06/0.1614, allocations: 0 / 0.683 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.38e-05/0.1615, allocations: 3.984 kB / 0.683 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.1615, allocations: 0 / 0.683 GB, free: 13.14 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.633e-05/0.1615, allocations: 75.28 kB / 0.6831 GB, free: 13.06 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1615, allocations: 3.938 kB / 0.6831 GB, free: 13.06 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002223/0.1617, allocations: 39.97 kB / 0.6831 GB, free: 13.02 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 (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.0002525/0.162, allocations: 135.2 kB / 0.6832 GB, free: 12.88 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.561e-05/0.1621, allocations: 8 kB / 0.6832 GB, free: 12.87 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1621, allocations: 0 / 0.6832 GB, free: 12.87 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.387e-06/0.1621, allocations: 4 kB / 0.6832 GB, free: 12.86 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001219/0.1622, allocations: 5.656 kB / 0.6832 GB, free: 12.86 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001605/0.1624, allocations: 82.75 kB / 0.6833 GB, free: 12.75 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002145/0.1626, allocations: 0.6692 MB / 0.684 GB, free: 12.06 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.074e-05/0.1626, allocations: 0 / 0.684 GB, free: 12.06 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.898e-06/0.1626, allocations: 7.438 kB / 0.684 GB, free: 12.05 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1626, allocations: 0 / 0.684 GB, free: 12.05 MB / 494.1 MB Notification: Performance of Templates: time 0.002528/0.1652, allocations: 0.6414 MB / 0.6846 GB, free: 11.41 MB / 494.1 MB 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)