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.001065/0.001065, allocations: 113.8 kB / 16.37 MB, free: 6.012 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.001082/0.001082, allocations: 191.4 kB / 17.31 MB, free: 5.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.234/1.234, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002061/0.002061, allocations: 280.6 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.8842/0.8842, allocations: 169.3 MB / 0.4989 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 94.19 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.144, allocations: 86.98 MB / 0.6816 GB, free: 7.434 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Cryptographics.Validation.SHA1): time 0.001625/0.1456, allocations: 0.5321 MB / 0.6821 GB, free: 6.902 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003505/0.146, allocations: 144.1 kB / 0.6823 GB, free: 6.758 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.245e-05/0.146, allocations: 0 / 0.6823 GB, free: 6.758 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.573e-05/0.146, allocations: 3.938 kB / 0.6823 GB, free: 6.754 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001624/0.1462, allocations: 11.94 kB / 0.6823 GB, free: 6.742 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.956e-05/0.1463, allocations: 23.91 kB / 0.6823 GB, free: 6.719 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.142e-05/0.1463, allocations: 23.92 kB / 0.6823 GB, free: 6.695 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.276e-05/0.1464, allocations: 4 kB / 0.6823 GB, free: 6.691 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.32e-05/0.1464, allocations: 15.92 kB / 0.6823 GB, free: 6.676 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003181/0.1467, allocations: 316.1 kB / 0.6826 GB, free: 6.414 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.1468, allocations: 3.938 kB / 0.6826 GB, free: 6.41 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.994e-05/0.1468, allocations: 12 kB / 0.6827 GB, free: 6.398 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.069e-05/0.1468, allocations: 4 kB / 0.6827 GB, free: 6.395 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.304e-05/0.1468, allocations: 19.84 kB / 0.6827 GB, free: 6.375 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.586e-05/0.1469, allocations: 35.91 kB / 0.6827 GB, free: 6.34 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1469, allocations: 0 / 0.6827 GB, free: 6.34 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.147, allocations: 0 / 0.6827 GB, free: 6.34 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.147, allocations: 0 / 0.6827 GB, free: 6.34 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.0002954/0.1473, allocations: 351.4 kB / 0.683 GB, free: 5.949 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.877e-05/0.1473, allocations: 12.03 kB / 0.6831 GB, free: 5.938 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.127e-05/0.1473, allocations: 12.78 kB / 0.6831 GB, free: 5.926 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.1474, allocations: 168.2 kB / 0.6832 GB, free: 5.723 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.1475, allocations: 4.375 kB / 0.6832 GB, free: 5.719 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.737e-06/0.1475, allocations: 4.375 kB / 0.6832 GB, free: 5.715 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.1476, allocations: 61.73 kB / 0.6833 GB, free: 5.648 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.1476, allocations: 3.984 kB / 0.6833 GB, free: 5.645 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-06/0.1476, allocations: 0 / 0.6833 GB, free: 5.645 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1476, allocations: 0 / 0.6833 GB, free: 5.645 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.361e-05/0.1477, allocations: 19.98 kB / 0.6833 GB, free: 5.625 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002933/0.148, allocations: 272.8 kB / 0.6836 GB, free: 5.309 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.816e-05/0.148, allocations: 26.56 kB / 0.6836 GB, free: 5.273 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.384e-05/0.148, allocations: 4.859 kB / 0.6836 GB, free: 5.266 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.148, allocations: 0 / 0.6836 GB, free: 5.266 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.1481, allocations: 34.5 kB / 0.6836 GB, free: 5.223 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.1481, allocations: 0 / 0.6836 GB, free: 5.223 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001125/0.1482, allocations: 41.7 kB / 0.6837 GB, free: 5.176 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.1482, allocations: 51.41 kB / 0.6837 GB, free: 5.113 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.1483, allocations: 144.4 kB / 0.6839 GB, free: 4.965 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.1484, allocations: 25.7 kB / 0.6839 GB, free: 4.934 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.199e-05/0.1484, allocations: 99.97 kB / 0.684 GB, free: 4.832 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.147e-06/0.1484, allocations: 0 / 0.684 GB, free: 4.832 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-05/0.1485, allocations: 25.7 kB / 0.684 GB, free: 4.801 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.1486, allocations: 326.9 kB / 0.6843 GB, free: 4.473 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.249e-05/0.1486, allocations: 7.984 kB / 0.6843 GB, free: 4.465 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.298e-05/0.1486, allocations: 15.94 kB / 0.6843 GB, free: 4.449 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.261e-05/0.1487, allocations: 16.86 kB / 0.6844 GB, free: 4.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.1487, allocations: 0 / 0.6844 GB, free: 4.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.752e-05/0.1488, allocations: 61.59 kB / 0.6844 GB, free: 4.363 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.1488, allocations: 7.984 kB / 0.6844 GB, free: 4.355 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.1488, allocations: 0 / 0.6844 GB, free: 4.355 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.468e-06/0.1488, allocations: 4 kB / 0.6844 GB, free: 4.352 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.693e-05/0.1488, allocations: 0 / 0.6844 GB, free: 4.352 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.1488, allocations: 4 kB / 0.6844 GB, free: 4.348 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.512e-05/0.1489, allocations: 4 kB / 0.6844 GB, free: 4.344 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.1489, allocations: 7.875 kB / 0.6845 GB, free: 4.336 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.412e-05/0.1489, allocations: 118 kB / 0.6846 GB, free: 4.211 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.149, allocations: 3.906 kB / 0.6846 GB, free: 4.207 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.837e-05/0.149, allocations: 11.52 kB / 0.6846 GB, free: 4.195 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.149, allocations: 4 kB / 0.6846 GB, free: 4.191 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.149, allocations: 0 / 0.6846 GB, free: 4.191 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.483e-06/0.149, allocations: 0 / 0.6846 GB, free: 4.191 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002383/0.1493, allocations: 362.7 kB / 0.6849 GB, free: 3.777 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1493, allocations: 0 / 0.6849 GB, free: 3.777 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.747e-06/0.1493, allocations: 0 / 0.6849 GB, free: 3.777 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.1493, allocations: 0 / 0.6849 GB, free: 3.777 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.1493, allocations: 8 kB / 0.6849 GB, free: 3.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1493, allocations: 7.875 kB / 0.6849 GB, free: 3.762 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1493, allocations: 0 / 0.6849 GB, free: 3.762 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.873e-05/0.1494, allocations: 61.08 kB / 0.685 GB, free: 3.684 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.714e-05/0.1494, allocations: 81.09 kB / 0.6851 GB, free: 3.586 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.094e-05/0.1494, allocations: 0 / 0.6851 GB, free: 3.586 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.342e-05/0.1494, allocations: 3.938 kB / 0.6851 GB, free: 3.582 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.652e-05/0.1495, allocations: 4 kB / 0.6851 GB, free: 3.578 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-06/0.1495, allocations: 0 / 0.6851 GB, free: 3.578 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.442e-05/0.1495, allocations: 103.3 kB / 0.6852 GB, free: 3.477 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1495, allocations: 0 / 0.6852 GB, free: 3.477 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000191/0.1497, allocations: 12 kB / 0.6852 GB, free: 3.465 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.0002075/0.15, allocations: 146.6 kB / 0.6853 GB, free: 3.324 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.011e-05/0.1501, allocations: 27.92 kB / 0.6854 GB, free: 3.297 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.1501, allocations: 0 / 0.6854 GB, free: 3.297 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.252e-06/0.1501, allocations: 0 / 0.6854 GB, free: 3.297 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001245/0.1502, allocations: 11.03 kB / 0.6854 GB, free: 3.289 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001908/0.1504, allocations: 109 kB / 0.6855 GB, free: 3.156 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.1506, allocations: 0.6807 MB / 0.6861 GB, free: 2.449 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.744e-05/0.1507, allocations: 12.12 kB / 0.6862 GB, free: 2.438 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.483e-05/0.1507, allocations: 7.438 kB / 0.6862 GB, free: 2.43 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1507, allocations: 0 / 0.6862 GB, free: 2.43 MB / 494.1 MB Notification: Performance of Templates: time 0.002155/0.1528, allocations: 0.5426 MB / 0.6867 GB, free: 1.891 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1)