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.001379/0.001379, allocations: 107 kB / 16.36 MB, free: 6.336 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.001516/0.001516, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.217/1.217, 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.002058/0.002058, allocations: 294.1 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.8926/0.8926, allocations: 169.3 MB / 0.4989 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001658, allocations: 98.03 kB / 0.5966 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1533, allocations: 86.98 MB / 0.6816 GB, free: 7.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Cryptographics.Validation.SHA1): time 0.001591/0.1549, allocations: 0.5204 MB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000364/0.1553, allocations: 152.1 kB / 0.6822 GB, free: 6.801 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.553e-05/0.1553, allocations: 0 / 0.6822 GB, free: 6.801 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.409e-05/0.1554, allocations: 3.938 kB / 0.6822 GB, free: 6.797 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001803/0.1555, allocations: 7.938 kB / 0.6823 GB, free: 6.789 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.254e-05/0.1556, allocations: 23.91 kB / 0.6823 GB, free: 6.766 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.955e-05/0.1557, allocations: 27.86 kB / 0.6823 GB, free: 6.738 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.024e-05/0.1557, allocations: 4 kB / 0.6823 GB, free: 6.734 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.542e-05/0.1558, allocations: 15.92 kB / 0.6823 GB, free: 6.719 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003305/0.1561, allocations: 317.7 kB / 0.6826 GB, free: 6.457 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.1561, allocations: 8 kB / 0.6826 GB, free: 6.449 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.243e-05/0.1562, allocations: 12 kB / 0.6826 GB, free: 6.438 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.608e-05/0.1562, allocations: 7.922 kB / 0.6827 GB, free: 6.43 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.523e-05/0.1562, allocations: 15.92 kB / 0.6827 GB, free: 6.414 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001056/0.1563, allocations: 35.84 kB / 0.6827 GB, free: 6.379 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1564, allocations: 0 / 0.6827 GB, free: 6.379 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1564, allocations: 0 / 0.6827 GB, free: 6.379 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.1564, allocations: 4 kB / 0.6827 GB, free: 6.375 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.0003029/0.1567, allocations: 347.3 kB / 0.683 GB, free: 5.992 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.1567, allocations: 8.031 kB / 0.683 GB, free: 5.984 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.286e-05/0.1568, allocations: 12.84 kB / 0.6831 GB, free: 5.973 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.1569, allocations: 176.2 kB / 0.6832 GB, free: 5.762 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.1569, allocations: 384 / 0.6832 GB, free: 5.762 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.1569, allocations: 8.359 kB / 0.6832 GB, free: 5.754 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.157, allocations: 49.81 kB / 0.6833 GB, free: 5.699 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.157, allocations: 0 / 0.6833 GB, free: 5.699 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.157, allocations: 4 kB / 0.6833 GB, free: 5.695 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.1571, allocations: 0 / 0.6833 GB, free: 5.695 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.316e-05/0.1571, allocations: 19.98 kB / 0.6833 GB, free: 5.676 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003215/0.1574, allocations: 276.8 kB / 0.6836 GB, free: 5.355 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.631e-05/0.1575, allocations: 26.5 kB / 0.6836 GB, free: 5.32 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.536e-05/0.1575, allocations: 8.797 kB / 0.6836 GB, free: 5.309 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.582e-06/0.1575, allocations: 0 / 0.6836 GB, free: 5.309 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.1575, allocations: 34.62 kB / 0.6836 GB, free: 5.266 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.1575, allocations: 0 / 0.6836 GB, free: 5.266 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001177/0.1577, allocations: 33.8 kB / 0.6837 GB, free: 5.227 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.1577, allocations: 59.41 kB / 0.6837 GB, free: 5.156 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.1578, allocations: 141.6 kB / 0.6839 GB, free: 5.008 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.1578, allocations: 25.7 kB / 0.6839 GB, free: 4.977 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.335e-05/0.1579, allocations: 104 kB / 0.684 GB, free: 4.871 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.288e-06/0.1579, allocations: 0 / 0.684 GB, free: 4.871 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.892e-05/0.158, allocations: 25.7 kB / 0.684 GB, free: 4.84 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.876e-05/0.1581, allocations: 322.8 kB / 0.6843 GB, free: 4.516 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.241e-05/0.1581, allocations: 12.02 kB / 0.6843 GB, free: 4.504 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.841e-05/0.1581, allocations: 12 kB / 0.6843 GB, free: 4.492 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.301e-05/0.1582, allocations: 16.86 kB / 0.6844 GB, free: 4.473 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1582, allocations: 0 / 0.6844 GB, free: 4.473 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001002/0.1583, allocations: 61.59 kB / 0.6844 GB, free: 4.406 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.1583, allocations: 11.98 kB / 0.6844 GB, free: 4.395 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1583, allocations: 0 / 0.6844 GB, free: 4.395 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.1583, allocations: 3.938 kB / 0.6844 GB, free: 4.391 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.718e-05/0.1583, allocations: 0 / 0.6844 GB, free: 4.391 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.1583, allocations: 3.984 kB / 0.6844 GB, free: 4.387 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.102e-05/0.1584, allocations: 8 kB / 0.6844 GB, free: 4.379 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.445e-06/0.1584, allocations: 3.938 kB / 0.6844 GB, free: 4.375 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 7.07e-05/0.1585, allocations: 113.8 kB / 0.6846 GB, free: 4.254 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.628e-05/0.1585, allocations: 7.906 kB / 0.6846 GB, free: 4.246 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.646e-05/0.1585, allocations: 7.516 kB / 0.6846 GB, free: 4.238 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.1585, allocations: 0 / 0.6846 GB, free: 4.238 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1585, allocations: 0 / 0.6846 GB, free: 4.238 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-06/0.1585, allocations: 0 / 0.6846 GB, free: 4.238 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002312/0.1588, allocations: 370.8 kB / 0.6849 GB, free: 3.816 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1588, allocations: 4 kB / 0.6849 GB, free: 3.812 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.069e-06/0.1588, allocations: 4 kB / 0.6849 GB, free: 3.809 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-06/0.1588, allocations: 0 / 0.6849 GB, free: 3.809 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.348e-06/0.1588, allocations: 0 / 0.6849 GB, free: 3.809 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.1588, allocations: 3.938 kB / 0.6849 GB, free: 3.805 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1588, allocations: 3.938 kB / 0.6849 GB, free: 3.801 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.292e-05/0.1589, allocations: 61.08 kB / 0.685 GB, free: 3.723 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.977e-05/0.1589, allocations: 81.09 kB / 0.6851 GB, free: 3.625 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.1589, allocations: 4 kB / 0.6851 GB, free: 3.621 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.572e-05/0.1589, allocations: 7.938 kB / 0.6851 GB, free: 3.613 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.474e-05/0.159, allocations: 0 / 0.6851 GB, free: 3.613 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-06/0.159, allocations: 0 / 0.6851 GB, free: 3.613 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.08e-05/0.159, allocations: 101.9 kB / 0.6852 GB, free: 3.516 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.159, allocations: 3.938 kB / 0.6852 GB, free: 3.512 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001879/0.1592, allocations: 12 kB / 0.6852 GB, free: 3.5 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.0002019/0.1594, allocations: 137.2 kB / 0.6853 GB, free: 3.367 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.867e-05/0.1595, allocations: 23.98 kB / 0.6854 GB, free: 3.344 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1595, allocations: 0 / 0.6854 GB, free: 3.344 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.196e-06/0.1595, allocations: 4 kB / 0.6854 GB, free: 3.34 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001229/0.1597, allocations: 4 kB / 0.6854 GB, free: 3.336 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000179/0.1599, allocations: 115.6 kB / 0.6855 GB, free: 3.199 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002079/0.1601, allocations: 0.6845 MB / 0.6861 GB, free: 2.488 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.473e-05/0.1601, allocations: 8.125 kB / 0.6861 GB, free: 2.48 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.589e-05/0.1601, allocations: 7.438 kB / 0.6862 GB, free: 2.473 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1601, allocations: 0 / 0.6862 GB, free: 2.473 MB / 494.1 MB Notification: Performance of Templates: time 0.002338/0.1625, allocations: 0.5467 MB / 0.6867 GB, free: 1.93 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 cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1)