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.0009375/0.0009375, allocations: 90.75 kB / 15.36 MB, free: 0.7383 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.006016/0.006016, allocations: 172.6 kB / 16.26 MB, free: 6.613 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.304/1.304, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001655/0.001655, allocations: 269.4 kB / 291.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9674/0.9674, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003985/0.0003986, allocations: 14.61 kB / 0.5986 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1643, allocations: 88.54 MB / 0.6851 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Cryptographics.Validation.SHA1): time 0.0005717/0.1649, allocations: 259 kB / 0.6854 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003972/0.1653, allocations: 156.1 kB / 0.6855 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.242e-05/0.1653, allocations: 1.062 kB / 0.6855 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.139e-05/0.1654, allocations: 0 / 0.6855 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001336/0.1655, allocations: 7.938 kB / 0.6855 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.921e-05/0.1656, allocations: 21.56 kB / 0.6855 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.796e-05/0.1656, allocations: 27.84 kB / 0.6856 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.657e-05/0.1657, allocations: 4 kB / 0.6856 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.217e-05/0.1657, allocations: 11.92 kB / 0.6856 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000395/0.1661, allocations: 335.3 kB / 0.6859 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.1661, allocations: 4 kB / 0.6859 GB, free: 14.33 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.011e-05/0.1662, allocations: 15.28 kB / 0.6859 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.256e-05/0.1662, allocations: 3.938 kB / 0.6859 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.081e-05/0.1663, allocations: 41.62 kB / 0.686 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.033e-05/0.1663, allocations: 39.83 kB / 0.686 GB, free: 14.23 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1663, allocations: 0 / 0.686 GB, free: 14.23 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1664, allocations: 0 / 0.686 GB, free: 14.23 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.1664, allocations: 0 / 0.686 GB, free: 14.23 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.0002616/0.1666, allocations: 344.2 kB / 0.6863 GB, free: 13.85 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.916e-05/0.1667, allocations: 8.031 kB / 0.6863 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.589e-05/0.1667, allocations: 9.406 kB / 0.6863 GB, free: 13.83 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.1668, allocations: 168.8 kB / 0.6865 GB, free: 13.63 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.1668, allocations: 9.469 kB / 0.6865 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.564e-06/0.1668, allocations: 384 / 0.6865 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.954e-05/0.1669, allocations: 57.8 kB / 0.6866 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.167, allocations: 2.156 kB / 0.6866 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.167, allocations: 0 / 0.6866 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.206e-06/0.167, allocations: 0 / 0.6866 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.265e-05/0.167, allocations: 19.98 kB / 0.6866 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002954/0.1673, allocations: 269.7 kB / 0.6868 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.798e-05/0.1674, allocations: 27.7 kB / 0.6869 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.419e-05/0.1674, allocations: 8.797 kB / 0.6869 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.59e-06/0.1674, allocations: 0 / 0.6869 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/0.1674, allocations: 32.28 kB / 0.6869 GB, free: 13.14 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.954e-06/0.1674, allocations: 3.984 kB / 0.6869 GB, free: 13.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001142/0.1675, allocations: 42.31 kB / 0.687 GB, free: 13.09 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.1676, allocations: 53.62 kB / 0.687 GB, free: 13.03 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.1677, allocations: 141.7 kB / 0.6871 GB, free: 12.88 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.1677, allocations: 25.7 kB / 0.6872 GB, free: 12.85 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.404e-05/0.1678, allocations: 103.9 kB / 0.6873 GB, free: 12.74 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.867e-06/0.1678, allocations: 0 / 0.6873 GB, free: 12.74 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.573e-05/0.1678, allocations: 20.02 kB / 0.6873 GB, free: 12.72 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.1679, allocations: 318.8 kB / 0.6876 GB, free: 12.4 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.541e-05/0.168, allocations: 15.98 kB / 0.6876 GB, free: 12.38 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.738e-05/0.168, allocations: 4 kB / 0.6876 GB, free: 12.38 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.169e-05/0.168, allocations: 16.86 kB / 0.6876 GB, free: 12.36 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.168, allocations: 0.7812 kB / 0.6876 GB, free: 12.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.876e-05/0.1681, allocations: 65.67 kB / 0.6877 GB, free: 12.29 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.1682, allocations: 4.875 kB / 0.6877 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.006e-06/0.1682, allocations: 0 / 0.6877 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.1682, allocations: 0.5938 kB / 0.6877 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.875e-05/0.1682, allocations: 7.938 kB / 0.6877 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.1682, allocations: 0.5312 kB / 0.6877 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.322e-05/0.1682, allocations: 5.125 kB / 0.6877 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.1683, allocations: 11.94 kB / 0.6877 GB, free: 12.26 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 6.034e-05/0.1683, allocations: 106.7 kB / 0.6878 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.377e-05/0.1683, allocations: 4 kB / 0.6878 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.15e-05/0.1684, allocations: 15.64 kB / 0.6878 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.1684, allocations: 0 / 0.6878 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.1684, allocations: 0 / 0.6878 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1684, allocations: 4 kB / 0.6878 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002503/0.1687, allocations: 366.5 kB / 0.6882 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1687, allocations: 0 / 0.6882 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.506e-06/0.1687, allocations: 0 / 0.6882 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.1687, allocations: 0 / 0.6882 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.927e-06/0.1687, allocations: 0 / 0.6882 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.1687, allocations: 8.156 kB / 0.6882 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1687, allocations: 3.938 kB / 0.6882 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.629e-05/0.1688, allocations: 61.14 kB / 0.6883 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.409e-05/0.1688, allocations: 89 kB / 0.6883 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.1688, allocations: 0 / 0.6883 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.359e-05/0.1688, allocations: 3.938 kB / 0.6883 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.931e-05/0.1689, allocations: 3.984 kB / 0.6883 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.1689, allocations: 8.031 kB / 0.6884 GB, free: 11.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.707e-05/0.1689, allocations: 101.2 kB / 0.6885 GB, free: 11.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.583e-06/0.1689, allocations: 0 / 0.6885 GB, free: 11.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001943/0.1691, allocations: 23.94 kB / 0.6885 GB, free: 11.38 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.0002317/0.1694, allocations: 126.2 kB / 0.6886 GB, free: 11.25 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.203e-05/0.1695, allocations: 20 kB / 0.6886 GB, free: 11.23 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1695, allocations: 0 / 0.6886 GB, free: 11.23 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.757e-06/0.1695, allocations: 4 kB / 0.6886 GB, free: 11.23 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001269/0.1696, allocations: 0 / 0.6886 GB, free: 11.23 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002069/0.1698, allocations: 122.8 kB / 0.6887 GB, free: 11.08 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.1701, allocations: 0.6888 MB / 0.6894 GB, free: 10.37 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.948e-05/0.1701, allocations: 8.125 kB / 0.6894 GB, free: 10.36 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.606e-05/0.1701, allocations: 11.38 kB / 0.6894 GB, free: 10.35 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1701, allocations: 0 / 0.6894 GB, free: 10.35 MB / 494.1 MB Notification: Performance of Templates: time 0.002305/0.1724, allocations: 0.5165 MB / 0.6899 GB, free: 9.836 MB / 494.1 MB 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)