Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Cryptographics.Validation.SHA1.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.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Cryptographics.Validation.SHA1") translateModel(BuildingSystems.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Cryptographics.Validation.SHA1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001567/0.001567, 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.001605/0.001605, allocations: 193.4 kB / 16.14 MB, free: 6.715 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.482/1.482, 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.002532/0.002532, allocations: 290.9 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.068/1.068, allocations: 178.6 MB / 0.5068 GB, free: 4.742 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002708/0.002708, allocations: 96.72 kB / 0.6057 GB, free: 25.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1647, allocations: 89.14 MB / 0.6928 GB, free: 4.812 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Cryptographics.Validation.SHA1): time 0.00168/0.1664, allocations: 0.6013 MB / 0.6934 GB, free: 4.219 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004237/0.1668, allocations: 150.6 kB / 0.6935 GB, free: 4.07 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.299e-05/0.1668, allocations: 4 kB / 0.6935 GB, free: 4.066 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.671e-05/0.1669, allocations: 3.938 kB / 0.6935 GB, free: 4.062 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.167, allocations: 4 kB / 0.6935 GB, free: 4.059 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.412e-05/0.1671, allocations: 27.91 kB / 0.6935 GB, free: 4.031 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.359e-05/0.1671, allocations: 16 kB / 0.6936 GB, free: 4.016 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.21e-05/0.1672, allocations: 4 kB / 0.6936 GB, free: 4.012 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.698e-05/0.1672, allocations: 19.91 kB / 0.6936 GB, free: 3.992 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003823/0.1676, allocations: 314.4 kB / 0.6939 GB, free: 3.723 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.1676, allocations: 3.938 kB / 0.6939 GB, free: 3.719 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.758e-05/0.1677, allocations: 11.94 kB / 0.6939 GB, free: 3.707 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.368e-05/0.1677, allocations: 15.98 kB / 0.6939 GB, free: 3.691 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.275e-05/0.1677, allocations: 19.86 kB / 0.6939 GB, free: 3.672 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.932e-05/0.1678, allocations: 31.91 kB / 0.694 GB, free: 3.641 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.1678, allocations: 0 / 0.694 GB, free: 3.641 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.1679, allocations: 0 / 0.694 GB, free: 3.641 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.1679, allocations: 0 / 0.694 GB, free: 3.641 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003577/0.1682, allocations: 347.6 kB / 0.6943 GB, free: 3.254 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.1683, allocations: 15.97 kB / 0.6943 GB, free: 3.238 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.796e-05/0.1683, allocations: 4.875 kB / 0.6943 GB, free: 3.234 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.1684, allocations: 172.2 kB / 0.6945 GB, free: 3.027 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.592e-06/0.1685, allocations: 4.375 kB / 0.6945 GB, free: 3.023 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.1685, allocations: 12.36 kB / 0.6945 GB, free: 3.012 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.1686, allocations: 45.81 kB / 0.6945 GB, free: 2.961 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.1686, allocations: 0 / 0.6945 GB, free: 2.961 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.884e-06/0.1686, allocations: 0 / 0.6945 GB, free: 2.961 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.1686, allocations: 4 kB / 0.6945 GB, free: 2.957 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.855e-05/0.1687, allocations: 19.92 kB / 0.6946 GB, free: 2.938 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003577/0.1691, allocations: 280.8 kB / 0.6948 GB, free: 2.613 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.849e-05/0.1691, allocations: 22.56 kB / 0.6948 GB, free: 2.582 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.022e-05/0.1691, allocations: 8.922 kB / 0.6949 GB, free: 2.57 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.45e-06/0.1691, allocations: 0 / 0.6949 GB, free: 2.57 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.1692, allocations: 34.56 kB / 0.6949 GB, free: 2.527 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.119e-05/0.1692, allocations: 0 / 0.6949 GB, free: 2.527 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001327/0.1693, allocations: 41.55 kB / 0.6949 GB, free: 2.48 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.1694, allocations: 55.53 kB / 0.695 GB, free: 2.414 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.1695, allocations: 139.7 kB / 0.6951 GB, free: 2.27 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.1695, allocations: 25.7 kB / 0.6951 GB, free: 2.238 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.293e-05/0.1696, allocations: 95.97 kB / 0.6952 GB, free: 2.141 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.218e-06/0.1696, allocations: 4 kB / 0.6952 GB, free: 2.137 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-05/0.1697, allocations: 29.61 kB / 0.6953 GB, free: 2.102 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.1698, allocations: 318.8 kB / 0.6956 GB, free: 1.781 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.918e-05/0.1698, allocations: 11.98 kB / 0.6956 GB, free: 1.77 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.347e-05/0.1699, allocations: 8 kB / 0.6956 GB, free: 1.762 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.811e-05/0.1699, allocations: 28.73 kB / 0.6956 GB, free: 1.73 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1699, allocations: 0 / 0.6956 GB, free: 1.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001237/0.1701, allocations: 61.69 kB / 0.6957 GB, free: 1.664 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.1701, allocations: 7.984 kB / 0.6957 GB, free: 1.656 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1701, allocations: 0 / 0.6957 GB, free: 1.656 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.779e-06/0.1701, allocations: 0 / 0.6957 GB, free: 1.656 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.028e-05/0.1701, allocations: 4 kB / 0.6957 GB, free: 1.652 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.1701, allocations: 0 / 0.6957 GB, free: 1.652 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.507e-05/0.1702, allocations: 3.906 kB / 0.6957 GB, free: 1.648 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.1702, allocations: 11.92 kB / 0.6957 GB, free: 1.637 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: 6 (cmp5,cmp4,cmp3,cmp2,cmp1,cmpAll) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 8.932e-05/0.1703, allocations: 121.7 kB / 0.6958 GB, free: 1.508 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.923e-05/0.1703, allocations: 4 kB / 0.6958 GB, free: 1.504 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.994e-05/0.1703, allocations: 7.516 kB / 0.6958 GB, free: 1.496 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.1703, allocations: 0 / 0.6958 GB, free: 1.496 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1703, allocations: 4 kB / 0.6958 GB, free: 1.492 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.1704, allocations: 0 / 0.6958 GB, free: 1.492 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003141/0.1707, allocations: 366.6 kB / 0.6962 GB, free: 1.074 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1707, allocations: 4.031 kB / 0.6962 GB, free: 1.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.927e-06/0.1707, allocations: 0 / 0.6962 GB, free: 1.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.1707, allocations: 0 / 0.6962 GB, free: 1.07 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-06/0.1707, allocations: 192 / 0.6962 GB, free: 1.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.89e-06/0.1707, allocations: 7.938 kB / 0.6962 GB, free: 1.062 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1707, allocations: 0 / 0.6962 GB, free: 1.062 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.207e-05/0.1708, allocations: 57.08 kB / 0.6962 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.935e-05/0.1709, allocations: 89 kB / 0.6963 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.1709, allocations: 4.031 kB / 0.6963 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.61e-05/0.1709, allocations: 7.938 kB / 0.6963 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.022e-05/0.1709, allocations: 0 / 0.6963 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-06/0.1709, allocations: 0 / 0.6963 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.814e-05/0.171, allocations: 99.97 kB / 0.6964 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.171, allocations: 0 / 0.6964 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002017/0.1712, allocations: 16 kB / 0.6964 GB, free: 0.7578 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: 1 (cmpAll) * 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.0002473/0.1715, allocations: 133.1 kB / 0.6966 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.591e-05/0.1716, allocations: 23.92 kB / 0.6966 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1716, allocations: 0 / 0.6966 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.015e-05/0.1716, allocations: 4 kB / 0.6966 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001429/0.1718, allocations: 7.938 kB / 0.6966 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002135/0.172, allocations: 126.8 kB / 0.6967 GB, free: 456 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.1723, allocations: 0.6809 MB / 0.6974 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.08e-05/0.1723, allocations: 8.125 kB / 0.6974 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.854e-05/0.1724, allocations: 7.438 kB / 0.6974 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1724, allocations: 0 / 0.6974 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of Templates: time 0.002776/0.1752, allocations: 0.5309 MB / 0.6979 GB, free: 15.2 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Cryptographics.Validation.SHA1.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Cryptographics.Validation.SHA1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Cryptographics.Validation.SHA1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Cryptographics.Validation.SHA1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Cryptographics.Validation.SHA1.sim & ./BuildingSystems_BuildingSystems.Utilities.Cryptographics.Validation.SHA1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1)