Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0") translateModel(BuildingSystems.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001527/0.001527, allocations: 190.9 kB / 16.25 MB, free: 6.637 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.489/1.489, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002538/0.002538, allocations: 278.4 kB / 290.4 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.089/1.089, allocations: 178.6 MB / 0.5069 GB, free: 4.746 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002832/0.002833, allocations: 99.52 kB / 0.6059 GB, free: 24.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1634, allocations: 89.15 MB / 0.693 GB, free: 4.715 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ0): time 0.002577/0.166, allocations: 1.503 MB / 0.6944 GB, free: 3.207 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005064/0.1665, allocations: 248.5 kB / 0.6947 GB, free: 2.961 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.098e-05/0.1665, allocations: 0 / 0.6947 GB, free: 2.961 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.49e-05/0.1666, allocations: 0 / 0.6947 GB, free: 2.961 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.098e-05/0.1666, allocations: 0 / 0.6947 GB, free: 2.961 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002986/0.1669, allocations: 51.91 kB / 0.6947 GB, free: 2.91 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.193e-05/0.167, allocations: 23.86 kB / 0.6947 GB, free: 2.887 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.111e-05/0.1671, allocations: 11.98 kB / 0.6948 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.069e-05/0.1671, allocations: 3.984 kB / 0.6948 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.01e-05/0.1671, allocations: 15.94 kB / 0.6948 GB, free: 2.855 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.1672, allocations: 4 kB / 0.6948 GB, free: 2.852 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.1673, allocations: 63.88 kB / 0.6948 GB, free: 2.789 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.929e-06/0.1673, allocations: 4 kB / 0.6948 GB, free: 2.785 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.471e-05/0.1673, allocations: 11.92 kB / 0.6949 GB, free: 2.773 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001306/0.1675, allocations: 55.86 kB / 0.6949 GB, free: 2.719 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.1675, allocations: 0 / 0.6949 GB, free: 2.719 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1675, allocations: 0 / 0.6949 GB, free: 2.719 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.1675, allocations: 0 / 0.6949 GB, free: 2.719 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.00045/0.168, allocations: 351.7 kB / 0.6952 GB, free: 2.324 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.168, allocations: 15.97 kB / 0.6953 GB, free: 2.309 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.52e-05/0.168, allocations: 0.9375 kB / 0.6953 GB, free: 2.309 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.1682, allocations: 160.4 kB / 0.6954 GB, free: 2.113 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.1682, allocations: 4.375 kB / 0.6954 GB, free: 2.109 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.1682, allocations: 4.359 kB / 0.6954 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.1684, allocations: 50.23 kB / 0.6955 GB, free: 2.051 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.533e-06/0.1684, allocations: 192 / 0.6955 GB, free: 2.051 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.1684, allocations: 3.938 kB / 0.6955 GB, free: 2.047 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.1684, allocations: 4 kB / 0.6955 GB, free: 2.043 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001636/0.1686, allocations: 39.89 kB / 0.6955 GB, free: 2.004 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003042/0.1689, allocations: 248.8 kB / 0.6958 GB, free: 1.711 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.169, allocations: 42.53 kB / 0.6958 GB, free: 1.66 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.113e-05/0.1691, allocations: 20.91 kB / 0.6958 GB, free: 1.637 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006825/0.1698, allocations: 457.5 kB / 0.6963 GB, free: 1.098 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.1698, allocations: 30.56 kB / 0.6963 GB, free: 1.059 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 2.885e-06/0.1698, allocations: 4 kB / 0.6963 GB, free: 1.055 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003407/0.1702, allocations: 85.58 kB / 0.6964 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.1702, allocations: 51.41 kB / 0.6964 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.249e-05/0.1703, allocations: 93.86 kB / 0.6965 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.1703, allocations: 25.7 kB / 0.6965 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.971e-05/0.1704, allocations: 92.12 kB / 0.6966 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.686e-05/0.1704, allocations: 8.016 kB / 0.6966 GB, free: 0.668 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.916e-05/0.1705, allocations: 13.72 kB / 0.6966 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.1706, allocations: 322.8 kB / 0.6969 GB, free: 332 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.398e-05/0.1707, allocations: 11.98 kB / 0.697 GB, free: 320 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.166e-05/0.1708, allocations: 19.97 kB / 0.697 GB, free: 300 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.1709, allocations: 44.83 kB / 0.697 GB, free: 252 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1709, allocations: 0 / 0.697 GB, free: 252 kB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001913/0.1711, allocations: 69.59 kB / 0.6971 GB, free: 176 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.1712, allocations: 4 kB / 0.6971 GB, free: 172 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.1712, allocations: 0 / 0.6971 GB, free: 172 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.1712, allocations: 0 / 0.6971 GB, free: 172 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.933e-05/0.1713, allocations: 11.98 kB / 0.6971 GB, free: 160 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.1713, allocations: 0 / 0.6971 GB, free: 160 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.59e-05/0.1713, allocations: 8.031 kB / 0.6971 GB, free: 152 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.1714, allocations: 0 / 0.6971 GB, free: 152 kB / 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 7.8e-05/0.1714, allocations: 117.7 kB / 0.6972 GB, free: 24 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.1715, allocations: 4 kB / 0.6972 GB, free: 20 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002366/0.1717, allocations: 76.72 kB / 0.6973 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1717, allocations: 0 / 0.6973 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1717, allocations: 4.031 kB / 0.6973 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.1717, allocations: 4 kB / 0.6973 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.1719, allocations: 161.6 kB / 0.6975 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1719, allocations: 0 / 0.6975 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.62e-05/0.172, allocations: 7.984 kB / 0.6975 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.172, allocations: 0 / 0.6975 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.172, allocations: 0 / 0.6975 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.172, allocations: 4 kB / 0.6975 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.172, allocations: 0 / 0.6975 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000253/0.1723, allocations: 175.3 kB / 0.6976 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.106e-05/0.1723, allocations: 77.11 kB / 0.6977 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.1724, allocations: 0 / 0.6977 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.629e-05/0.1724, allocations: 7.984 kB / 0.6977 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.234e-05/0.1725, allocations: 0 / 0.6977 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-06/0.1725, allocations: 0 / 0.6977 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.916e-05/0.1725, allocations: 91.44 kB / 0.6978 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1725, allocations: 4.031 kB / 0.6978 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002336/0.1728, allocations: 16 kB / 0.6978 GB, free: 15.31 MB / 0.4981 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 (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.000199/0.173, allocations: 115.2 kB / 0.6979 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000202/0.1732, allocations: 35.97 kB / 0.698 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.1732, allocations: 0 / 0.698 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.629e-05/0.1733, allocations: 23.92 kB / 0.698 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002232/0.1735, allocations: 13.89 kB / 0.698 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002342/0.1738, allocations: 101.6 kB / 0.6981 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.1741, allocations: 0.6769 MB / 0.6988 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.01e-05/0.1741, allocations: 4 kB / 0.6988 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.817e-05/0.1741, allocations: 7.438 kB / 0.6988 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1741, allocations: 0 / 0.6988 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of Templates: time 0.002848/0.177, allocations: 0.6016 MB / 0.6994 GB, free: 13.68 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe 2>&1)