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.001287/0.001287, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001592/0.001592, allocations: 193.5 kB / 16.26 MB, free: 6.621 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.297/1.297, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001978/0.001978, allocations: 286.8 kB / 290.4 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9125/0.9125, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001634, allocations: 94.11 kB / 0.5947 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1521, allocations: 86.98 MB / 0.6796 GB, free: 1.074 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Cryptographics.Validation.SHA1): time 0.001537/0.1537, allocations: 0.5897 MB / 0.6802 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003435/0.154, allocations: 152.8 kB / 0.6803 GB, free: 352 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.016e-05/0.1541, allocations: 0 / 0.6803 GB, free: 352 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.402e-05/0.1541, allocations: 1.719 kB / 0.6803 GB, free: 352 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001602/0.1542, allocations: 7.938 kB / 0.6803 GB, free: 344 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.703e-05/0.1543, allocations: 23.97 kB / 0.6804 GB, free: 320 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 4.602e-05/0.1544, allocations: 31.86 kB / 0.6804 GB, free: 288 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.812e-05/0.1544, allocations: 0 / 0.6804 GB, free: 288 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.247e-05/0.1544, allocations: 16.55 kB / 0.6804 GB, free: 272 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000304/0.1547, allocations: 321.7 kB / 0.6807 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.1548, allocations: 0 / 0.6807 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.918e-05/0.1548, allocations: 15.98 kB / 0.6807 GB, free: 15.97 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.556e-05/0.1548, allocations: 11.92 kB / 0.6808 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.28e-05/0.1549, allocations: 15.88 kB / 0.6808 GB, free: 15.94 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.873e-05/0.155, allocations: 35.77 kB / 0.6808 GB, free: 15.91 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.155, allocations: 0 / 0.6808 GB, free: 15.91 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.155, allocations: 1.688 kB / 0.6808 GB, free: 15.91 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.155, allocations: 0 / 0.6808 GB, free: 15.91 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.000283/0.1553, allocations: 347.6 kB / 0.6811 GB, free: 15.52 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.1553, allocations: 16.02 kB / 0.6811 GB, free: 15.51 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.538e-05/0.1553, allocations: 1.438 kB / 0.6812 GB, free: 15.51 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.1555, allocations: 180.8 kB / 0.6813 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.1555, allocations: 384 / 0.6813 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.1555, allocations: 5.25 kB / 0.6813 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.1556, allocations: 49.8 kB / 0.6814 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.1556, allocations: 4.625 kB / 0.6814 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.1556, allocations: 9.438 kB / 0.6814 GB, free: 15.22 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.1556, allocations: 0 / 0.6814 GB, free: 15.22 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.742e-05/0.1557, allocations: 12 kB / 0.6814 GB, free: 15.21 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003048/0.156, allocations: 281.4 kB / 0.6817 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.551e-05/0.156, allocations: 22.52 kB / 0.6817 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.74e-05/0.1561, allocations: 12.92 kB / 0.6817 GB, free: 14.84 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.141e-06/0.1561, allocations: 0 / 0.6817 GB, free: 14.84 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.1561, allocations: 30.56 kB / 0.6817 GB, free: 14.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.1561, allocations: 0 / 0.6817 GB, free: 14.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001298/0.1562, allocations: 41.62 kB / 0.6818 GB, free: 14.75 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.1563, allocations: 51.53 kB / 0.6818 GB, free: 14.69 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.1564, allocations: 143.7 kB / 0.682 GB, free: 14.54 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.1564, allocations: 25.7 kB / 0.682 GB, free: 14.51 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.413e-05/0.1565, allocations: 99.97 kB / 0.6821 GB, free: 14.41 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.921e-06/0.1565, allocations: 4 kB / 0.6821 GB, free: 14.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.983e-05/0.1565, allocations: 25.7 kB / 0.6821 GB, free: 14.38 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.1567, allocations: 318.8 kB / 0.6824 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.476e-05/0.1567, allocations: 12 kB / 0.6824 GB, free: 14.04 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.29e-05/0.1567, allocations: 11.98 kB / 0.6824 GB, free: 14.03 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.452e-05/0.1568, allocations: 20.86 kB / 0.6825 GB, free: 14.01 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1568, allocations: 0 / 0.6825 GB, free: 14.01 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.83e-05/0.1569, allocations: 65.53 kB / 0.6825 GB, free: 13.94 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.1569, allocations: 4 kB / 0.6825 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/0.157, allocations: 0 / 0.6825 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.157, allocations: 0 / 0.6825 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.093e-05/0.157, allocations: 8 kB / 0.6825 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.157, allocations: 0 / 0.6825 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.292e-05/0.157, allocations: 3.984 kB / 0.6825 GB, free: 13.92 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.157, allocations: 7.938 kB / 0.6825 GB, free: 13.91 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.122e-05/0.1571, allocations: 109.8 kB / 0.6826 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.631e-05/0.1571, allocations: 7.906 kB / 0.6827 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.376e-05/0.1572, allocations: 7.531 kB / 0.6827 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1572, allocations: 4 kB / 0.6827 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.1572, allocations: 0 / 0.6827 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.1572, allocations: 192 / 0.6827 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002452/0.1574, allocations: 370.6 kB / 0.683 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1574, allocations: 4.031 kB / 0.683 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.686e-06/0.1575, allocations: 0 / 0.683 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.1575, allocations: 0 / 0.683 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.1575, allocations: 0 / 0.683 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.1575, allocations: 7.875 kB / 0.683 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1575, allocations: 0 / 0.683 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.07e-05/0.1576, allocations: 68.97 kB / 0.6831 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.071e-05/0.1576, allocations: 81.11 kB / 0.6832 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/0.1576, allocations: 4.031 kB / 0.6832 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.334e-05/0.1576, allocations: 3.938 kB / 0.6832 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.773e-05/0.1577, allocations: 3.984 kB / 0.6832 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-06/0.1577, allocations: 0 / 0.6832 GB, free: 13.15 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000103/0.1578, allocations: 109.1 kB / 0.6833 GB, free: 13.04 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1578, allocations: 0 / 0.6833 GB, free: 13.04 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001903/0.158, allocations: 16 kB / 0.6833 GB, free: 13.03 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.0002041/0.1582, allocations: 118 kB / 0.6834 GB, free: 12.91 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.314e-05/0.1583, allocations: 23.98 kB / 0.6834 GB, free: 12.89 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1583, allocations: 0 / 0.6834 GB, free: 12.89 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.989e-06/0.1583, allocations: 7.938 kB / 0.6834 GB, free: 12.88 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001298/0.1584, allocations: 0 / 0.6834 GB, free: 12.88 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001965/0.1586, allocations: 133 kB / 0.6836 GB, free: 12.72 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002191/0.1589, allocations: 0.6807 MB / 0.6842 GB, free: 12.02 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.82e-05/0.1589, allocations: 12.11 kB / 0.6842 GB, free: 12 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.531e-05/0.1589, allocations: 7.438 kB / 0.6843 GB, free: 12 MB / 494.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1589, allocations: 4 kB / 0.6843 GB, free: 12 MB / 494.1 MB Notification: Performance of Templates: time 0.00234/0.1613, allocations: 0.5426 MB / 0.6848 GB, free: 11.46 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)