Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.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.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1") translateModel(BuildingSystems.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009984/0.0009985, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.0009611/0.0009611, allocations: 191 kB / 17.29 MB, free: 5.516 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.224/1.224, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002036/0.002036, allocations: 291.8 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8878/0.8878, allocations: 169.3 MB / 0.4989 GB, free: 4.484 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001716/0.001716, allocations: 94.53 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1507, allocations: 86.98 MB / 0.6816 GB, free: 7.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ1): time 0.002563/0.1533, allocations: 1.431 MB / 0.683 GB, free: 6.035 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000462/0.1537, allocations: 256 kB / 0.6832 GB, free: 5.781 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.199e-05/0.1538, allocations: 0 / 0.6832 GB, free: 5.781 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.476e-05/0.1538, allocations: 3.938 kB / 0.6832 GB, free: 5.777 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.443e-05/0.1538, allocations: 0 / 0.6832 GB, free: 5.777 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003074/0.1542, allocations: 59.83 kB / 0.6833 GB, free: 5.719 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.237e-05/0.1542, allocations: 27.86 kB / 0.6833 GB, free: 5.691 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.996e-05/0.1543, allocations: 7.984 kB / 0.6833 GB, free: 5.684 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.427e-05/0.1544, allocations: 11.98 kB / 0.6833 GB, free: 5.672 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.989e-05/0.1544, allocations: 3.938 kB / 0.6833 GB, free: 5.668 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.808e-06/0.1544, allocations: 8 kB / 0.6834 GB, free: 5.66 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.1545, allocations: 63.88 kB / 0.6834 GB, free: 5.598 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.051e-05/0.1546, allocations: 4 kB / 0.6834 GB, free: 5.594 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.964e-05/0.1546, allocations: 7.938 kB / 0.6834 GB, free: 5.586 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.1547, allocations: 55.91 kB / 0.6835 GB, free: 5.531 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1547, allocations: 0 / 0.6835 GB, free: 5.531 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1547, allocations: 3.938 kB / 0.6835 GB, free: 5.527 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.506e-06/0.1547, allocations: 0 / 0.6835 GB, free: 5.527 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.0004244/0.1552, allocations: 343.5 kB / 0.6838 GB, free: 5.141 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/0.1552, allocations: 12.03 kB / 0.6838 GB, free: 5.129 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.786e-05/0.1552, allocations: 8.844 kB / 0.6838 GB, free: 5.121 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.1553, allocations: 160.4 kB / 0.684 GB, free: 4.926 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.1554, allocations: 4.359 kB / 0.684 GB, free: 4.922 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.1554, allocations: 4.375 kB / 0.684 GB, free: 4.918 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.1555, allocations: 50.19 kB / 0.684 GB, free: 4.863 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.1556, allocations: 192 / 0.684 GB, free: 4.863 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.1556, allocations: 3.938 kB / 0.684 GB, free: 4.859 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.1556, allocations: 3.984 kB / 0.684 GB, free: 4.855 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001491/0.1557, allocations: 31.97 kB / 0.6841 GB, free: 4.824 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003176/0.1561, allocations: 245 kB / 0.6843 GB, free: 4.535 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.1562, allocations: 46.42 kB / 0.6844 GB, free: 4.48 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.49e-05/0.1563, allocations: 28.91 kB / 0.6844 GB, free: 4.449 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006256/0.1569, allocations: 465.4 kB / 0.6848 GB, free: 3.902 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.1569, allocations: 34.56 kB / 0.6849 GB, free: 3.859 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1569, allocations: 0 / 0.6849 GB, free: 3.859 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003207/0.1573, allocations: 77.64 kB / 0.6849 GB, free: 3.777 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.1573, allocations: 63.34 kB / 0.685 GB, free: 3.703 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.956e-05/0.1574, allocations: 97.84 kB / 0.6851 GB, free: 3.598 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.1574, allocations: 29.64 kB / 0.6851 GB, free: 3.562 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.448e-05/0.1574, allocations: 88.05 kB / 0.6852 GB, free: 3.473 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.216e-05/0.1575, allocations: 0 / 0.6852 GB, free: 3.473 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.028e-05/0.1575, allocations: 17.84 kB / 0.6852 GB, free: 3.449 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.686e-05/0.1576, allocations: 314.8 kB / 0.6855 GB, free: 3.133 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.474e-05/0.1577, allocations: 23.97 kB / 0.6855 GB, free: 3.109 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.113e-05/0.1577, allocations: 15.98 kB / 0.6856 GB, free: 3.094 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.1579, allocations: 36.83 kB / 0.6856 GB, free: 3.055 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1579, allocations: 4.062 kB / 0.6856 GB, free: 3.051 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001641/0.1581, allocations: 69.5 kB / 0.6857 GB, free: 2.977 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.1581, allocations: 8 kB / 0.6857 GB, free: 2.969 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.347e-06/0.1581, allocations: 0 / 0.6857 GB, free: 2.969 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.1581, allocations: 0 / 0.6857 GB, free: 2.969 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.113e-05/0.1582, allocations: 15.86 kB / 0.6857 GB, free: 2.953 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.1582, allocations: 0 / 0.6857 GB, free: 2.953 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.309e-05/0.1582, allocations: 15.95 kB / 0.6857 GB, free: 2.938 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.1582, allocations: 4 kB / 0.6857 GB, free: 2.934 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.954e-05/0.1583, allocations: 109.8 kB / 0.6858 GB, free: 2.816 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.1584, allocations: 4 kB / 0.6858 GB, free: 2.812 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001935/0.1585, allocations: 68.78 kB / 0.6859 GB, free: 2.738 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1586, allocations: 0 / 0.6859 GB, free: 2.738 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.1586, allocations: 0 / 0.6859 GB, free: 2.738 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.1586, allocations: 4.031 kB / 0.6859 GB, free: 2.734 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.1587, allocations: 161.6 kB / 0.686 GB, free: 2.527 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1587, allocations: 0 / 0.686 GB, free: 2.527 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.162e-05/0.1588, allocations: 8 kB / 0.686 GB, free: 2.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.1588, allocations: 0 / 0.686 GB, free: 2.52 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.1588, allocations: 3.938 kB / 0.686 GB, free: 2.516 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.1588, allocations: 3.984 kB / 0.686 GB, free: 2.512 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1588, allocations: 0 / 0.686 GB, free: 2.512 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002095/0.159, allocations: 163.5 kB / 0.6862 GB, free: 2.336 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.371e-05/0.1591, allocations: 85 kB / 0.6863 GB, free: 2.234 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.1591, allocations: 4 kB / 0.6863 GB, free: 2.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.842e-05/0.1592, allocations: 4 kB / 0.6863 GB, free: 2.227 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.99e-05/0.1592, allocations: 3.984 kB / 0.6863 GB, free: 2.223 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-06/0.1592, allocations: 0 / 0.6863 GB, free: 2.223 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.917e-05/0.1593, allocations: 83.28 kB / 0.6864 GB, free: 2.141 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1593, allocations: 4.031 kB / 0.6864 GB, free: 2.137 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00022/0.1595, allocations: 12 kB / 0.6864 GB, free: 2.125 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.0001611/0.1597, allocations: 119.2 kB / 0.6865 GB, free: 1.996 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001877/0.1598, allocations: 47.83 kB / 0.6865 GB, free: 1.949 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1599, allocations: 0 / 0.6865 GB, free: 1.949 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.538e-05/0.1599, allocations: 19.98 kB / 0.6866 GB, free: 1.93 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.1602, allocations: 5.969 kB / 0.6866 GB, free: 1.926 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002232/0.1604, allocations: 101.6 kB / 0.6867 GB, free: 1.801 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002165/0.1606, allocations: 0.6768 MB / 0.6873 GB, free: 1.098 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.743e-05/0.1606, allocations: 128 / 0.6873 GB, free: 1.098 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.751e-05/0.1607, allocations: 11.44 kB / 0.6873 GB, free: 1.086 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1607, allocations: 3.938 kB / 0.6873 GB, free: 1.082 MB / 494.1 MB Notification: Performance of Templates: time 0.002618/0.1633, allocations: 0.6696 MB / 0.688 GB, free: 428 kB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe 2>&1)