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.001193/0.001193, allocations: 106.1 kB / 15.98 MB, free: 5.891 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.00114/0.00114, allocations: 196.4 kB / 16.91 MB, free: 5.746 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.24/1.24, allocations: 222.9 MB / 240.6 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001906/0.001906, allocations: 282.6 kB / 291 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8842/0.8842, allocations: 169.2 MB / 0.4985 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 96.69 kB / 0.5953 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1538, allocations: 86.98 MB / 0.6803 GB, free: 1.035 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Cryptographics.Validation.SHA1): time 0.001567/0.1554, allocations: 0.5865 MB / 0.6808 GB, free: 472 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003309/0.1557, allocations: 156.2 kB / 0.681 GB, free: 312 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.967e-05/0.1557, allocations: 0 / 0.681 GB, free: 312 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.639e-05/0.1558, allocations: 2 kB / 0.681 GB, free: 312 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001569/0.1559, allocations: 7.938 kB / 0.681 GB, free: 304 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.745e-05/0.156, allocations: 19.97 kB / 0.681 GB, free: 284 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.023e-05/0.1561, allocations: 31.86 kB / 0.681 GB, free: 252 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.136e-05/0.1561, allocations: 4 kB / 0.681 GB, free: 248 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.516e-05/0.1561, allocations: 15.92 kB / 0.6811 GB, free: 232 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003081/0.1564, allocations: 319.9 kB / 0.6814 GB, free: 15.95 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.1565, allocations: 0 / 0.6814 GB, free: 15.95 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.97e-05/0.1565, allocations: 15.98 kB / 0.6814 GB, free: 15.93 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.257e-05/0.1565, allocations: 11.92 kB / 0.6814 GB, free: 15.92 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.211e-05/0.1566, allocations: 15.88 kB / 0.6814 GB, free: 15.91 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.712e-05/0.1566, allocations: 24.83 kB / 0.6814 GB, free: 15.88 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1566, allocations: 0 / 0.6814 GB, free: 15.88 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1566, allocations: 0.7188 kB / 0.6814 GB, free: 15.88 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.1567, allocations: 0 / 0.6814 GB, free: 15.88 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.0002728/0.1569, allocations: 350.8 kB / 0.6818 GB, free: 15.5 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.157, allocations: 12.03 kB / 0.6818 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.922e-05/0.157, allocations: 1.656 kB / 0.6818 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.1571, allocations: 184.1 kB / 0.682 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.1571, allocations: 1 kB / 0.682 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.1572, allocations: 4.375 kB / 0.682 GB, free: 15.26 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.889e-05/0.1573, allocations: 53.81 kB / 0.682 GB, free: 15.2 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.1573, allocations: 3.984 kB / 0.682 GB, free: 15.2 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-06/0.1573, allocations: 0 / 0.682 GB, free: 15.2 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.1573, allocations: 4 kB / 0.682 GB, free: 15.2 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.984e-05/0.1573, allocations: 12 kB / 0.682 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002999/0.1576, allocations: 276.8 kB / 0.6823 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.206e-05/0.1577, allocations: 18.52 kB / 0.6823 GB, free: 14.84 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.61e-05/0.1577, allocations: 16.92 kB / 0.6823 GB, free: 14.82 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.901e-06/0.1577, allocations: 0 / 0.6823 GB, free: 14.82 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.1577, allocations: 30.56 kB / 0.6824 GB, free: 14.78 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.1578, allocations: 0 / 0.6824 GB, free: 14.78 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.000113/0.1579, allocations: 33.7 kB / 0.6824 GB, free: 14.74 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.1579, allocations: 51.41 kB / 0.6824 GB, free: 14.68 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.158, allocations: 147.6 kB / 0.6826 GB, free: 14.52 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.298e-06/0.158, allocations: 29.83 kB / 0.6826 GB, free: 14.49 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.065e-05/0.1581, allocations: 95.98 kB / 0.6827 GB, free: 14.39 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.26e-06/0.1581, allocations: 7.938 kB / 0.6827 GB, free: 14.38 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.031e-05/0.1581, allocations: 25.7 kB / 0.6827 GB, free: 14.35 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.1582, allocations: 318.8 kB / 0.683 GB, free: 14.03 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.518e-05/0.1583, allocations: 12 kB / 0.6831 GB, free: 14.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.074e-05/0.1583, allocations: 8 kB / 0.6831 GB, free: 14.01 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.679e-05/0.1583, allocations: 20.97 kB / 0.6831 GB, free: 13.99 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1583, allocations: 4 kB / 0.6831 GB, free: 13.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.539e-05/0.1584, allocations: 69.53 kB / 0.6831 GB, free: 13.91 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.1585, allocations: 4 kB / 0.6832 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.1585, allocations: 0 / 0.6832 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/0.1585, allocations: 3.938 kB / 0.6832 GB, free: 13.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.986e-05/0.1585, allocations: 8 kB / 0.6832 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.1585, allocations: 0 / 0.6832 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.1e-05/0.1585, allocations: 0 / 0.6832 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.1586, allocations: 7.938 kB / 0.6832 GB, free: 13.89 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 5.931e-05/0.1586, allocations: 109.8 kB / 0.6833 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.1587, allocations: 11.91 kB / 0.6833 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.293e-05/0.1587, allocations: 7.531 kB / 0.6833 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.1587, allocations: 0 / 0.6833 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1587, allocations: 4 kB / 0.6833 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.1587, allocations: 0 / 0.6833 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002347/0.1589, allocations: 362.6 kB / 0.6836 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1589, allocations: 0 / 0.6836 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.597e-06/0.159, allocations: 0 / 0.6836 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.159, allocations: 4.031 kB / 0.6836 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-06/0.159, allocations: 0 / 0.6836 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.159, allocations: 3.938 kB / 0.6837 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.159, allocations: 0 / 0.6837 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.033e-05/0.159, allocations: 65.03 kB / 0.6837 GB, free: 13.24 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.396e-05/0.1591, allocations: 81.11 kB / 0.6838 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.1591, allocations: 0 / 0.6838 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.315e-05/0.1591, allocations: 3.938 kB / 0.6838 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.712e-05/0.1591, allocations: 4.031 kB / 0.6838 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-06/0.1592, allocations: 0 / 0.6838 GB, free: 13.14 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.437e-05/0.1592, allocations: 109.4 kB / 0.6839 GB, free: 13.03 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.132e-06/0.1592, allocations: 3.938 kB / 0.6839 GB, free: 13.03 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001823/0.1594, allocations: 11.94 kB / 0.6839 GB, free: 13.02 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.0002365/0.1596, allocations: 140.9 kB / 0.6841 GB, free: 12.88 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.625e-05/0.1597, allocations: 27.92 kB / 0.6841 GB, free: 12.85 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.1597, allocations: 0 / 0.6841 GB, free: 12.85 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.647e-06/0.1598, allocations: 4 kB / 0.6841 GB, free: 12.85 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001356/0.1599, allocations: 0 / 0.6841 GB, free: 12.85 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000192/0.1601, allocations: 157 kB / 0.6842 GB, free: 12.66 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002166/0.1603, allocations: 0.6845 MB / 0.6849 GB, free: 11.95 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.365e-05/0.1603, allocations: 15.42 kB / 0.6849 GB, free: 11.94 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1603, allocations: 0 / 0.6849 GB, free: 11.94 MB / 494.1 MB Notification: Performance of Templates: time 0.001981/0.1623, allocations: 0.9453 MB / 0.6858 GB, free: 11 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)