Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.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.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005713/0.005713, allocations: 100 kB / 15.73 MB, free: 6.047 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.001174/0.001174, allocations: 185.3 kB / 16.67 MB, free: 5.977 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001967/0.001967, allocations: 290 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.92/0.92, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001743/0.001743, allocations: 100.1 kB / 0.6815 GB, free: 15.45 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1586, allocations: 86.97 MB / 0.7664 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0): time 0.001548/0.1602, allocations: 0.5767 MB / 0.767 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004427/0.1606, allocations: 199.3 kB / 0.7672 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.215e-05/0.1606, allocations: 0 / 0.7672 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.452e-05/0.1607, allocations: 0 / 0.7672 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.56e-06/0.1607, allocations: 0 / 0.7672 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003496/0.161, allocations: 47.83 kB / 0.7672 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 3.744e-05/0.1611, allocations: 4 kB / 0.7672 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.546e-05/0.1611, allocations: 0 / 0.7672 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.31e-05/0.1612, allocations: 7.984 kB / 0.7672 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 1.701e-05/0.1612, allocations: 0 / 0.7672 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.032e-06/0.1612, allocations: 0 / 0.7672 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000155/0.1613, allocations: 59.89 kB / 0.7673 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.444e-06/0.1614, allocations: 0 / 0.7673 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.568e-05/0.1614, allocations: 3.984 kB / 0.7673 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.1615, allocations: 39.89 kB / 0.7673 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1615, allocations: 0 / 0.7673 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1615, allocations: 0 / 0.7673 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.1615, allocations: 0 / 0.7673 GB, free: 7.477 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.0002877/0.1618, allocations: 323.6 kB / 0.7676 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.1618, allocations: 8.031 kB / 0.7676 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.712e-05/0.1619, allocations: 4.875 kB / 0.7677 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.329e-05/0.162, allocations: 160.4 kB / 0.7678 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.507e-06/0.162, allocations: 384 / 0.7678 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-06/0.162, allocations: 4.375 kB / 0.7678 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.456e-05/0.1621, allocations: 34.19 kB / 0.7678 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.1621, allocations: 192 / 0.7678 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.1621, allocations: 3.938 kB / 0.7678 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1621, allocations: 0 / 0.7678 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.901e-05/0.1622, allocations: 8 kB / 0.7679 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001286/0.1623, allocations: 145.7 kB / 0.768 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.096e-05/0.1623, allocations: 14.58 kB / 0.768 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.526e-05/0.1623, allocations: 8.953 kB / 0.768 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006491/0.163, allocations: 457.5 kB / 0.7685 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.163, allocations: 34.5 kB / 0.7685 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.163, allocations: 0 / 0.7685 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001199/0.1632, allocations: 37.64 kB / 0.7685 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.1632, allocations: 55.39 kB / 0.7686 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.055e-05/0.1632, allocations: 89.86 kB / 0.7687 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.1633, allocations: 29.7 kB / 0.7687 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.784e-05/0.1633, allocations: 84.27 kB / 0.7688 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.1633, allocations: 3.906 kB / 0.7688 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.6e-05/0.1634, allocations: 13.72 kB / 0.7688 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.613e-05/0.1635, allocations: 310.8 kB / 0.7691 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.345e-06/0.1635, allocations: 0 / 0.7691 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.701e-06/0.1635, allocations: 0 / 0.7691 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.572e-05/0.1635, allocations: 12.8 kB / 0.7691 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1635, allocations: 64 / 0.7691 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.238e-05/0.1636, allocations: 45.67 kB / 0.7691 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.1636, allocations: 11.94 kB / 0.7691 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.1636, allocations: 0 / 0.7691 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.1636, allocations: 3.938 kB / 0.7692 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.423e-05/0.1637, allocations: 0 / 0.7692 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.858e-06/0.1637, allocations: 0 / 0.7692 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.123e-05/0.1637, allocations: 4 kB / 0.7692 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-06/0.1637, allocations: 0 / 0.7692 GB, free: 5.289 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.939e-05/0.1638, allocations: 114.5 kB / 0.7693 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.482e-06/0.1638, allocations: 0 / 0.7693 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.982e-05/0.1638, allocations: 48.69 kB / 0.7693 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1639, allocations: 0 / 0.7693 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1639, allocations: 0 / 0.7693 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1639, allocations: 4 kB / 0.7693 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.514e-05/0.164, allocations: 141.7 kB / 0.7695 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.164, allocations: 7.922 kB / 0.7695 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.095e-05/0.164, allocations: 0 / 0.7695 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.164, allocations: 0 / 0.7695 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.164, allocations: 11.97 kB / 0.7695 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.164, allocations: 4 kB / 0.7695 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.164, allocations: 0 / 0.7695 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.558e-05/0.1641, allocations: 57.08 kB / 0.7695 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.989e-05/0.1641, allocations: 81.09 kB / 0.7696 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.1641, allocations: 7.938 kB / 0.7696 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.552e-06/0.1641, allocations: 0 / 0.7696 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.726e-06/0.1642, allocations: 0 / 0.7696 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.1642, allocations: 4.031 kB / 0.7696 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.358e-05/0.1642, allocations: 75.28 kB / 0.7697 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.1642, allocations: 0 / 0.7697 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001911/0.1644, allocations: 16 kB / 0.7697 GB, free: 4.629 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.000183/0.1646, allocations: 115.2 kB / 0.7698 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 5.979e-05/0.1647, allocations: 4 kB / 0.7698 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1647, allocations: 4 kB / 0.7698 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.823e-06/0.1647, allocations: 0 / 0.7698 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001217/0.1648, allocations: 7.938 kB / 0.7698 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001498/0.165, allocations: 77.78 kB / 0.7699 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/0.1652, allocations: 0.6767 MB / 0.7706 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.177e-06/0.1652, allocations: 0 / 0.7706 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.07e-05/0.1652, allocations: 7.438 kB / 0.7706 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.1652, allocations: 4.125 kB / 0.7706 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of Templates: time 0.002073/0.1673, allocations: 408.9 kB / 0.771 GB, free: 3.273 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)