Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Cryptographics.Validation.SHA1") translateModel(IDEAS.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001285/0.001285, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001714/0.001714, allocations: 194 kB / 16.14 MB, free: 6.652 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.313/1.313, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9326/0.9326, allocations: 135.1 MB / 425.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 59.59 kB / 0.5047 GB, free: 5.742 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1491, allocations: 80.92 MB / 0.5837 GB, free: 4.984 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Cryptographics.Validation.SHA1): time 0.001548/0.1507, allocations: 0.5871 MB / 0.5843 GB, free: 4.391 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004015/0.1511, allocations: 160 kB / 0.5844 GB, free: 4.23 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.283e-05/0.1512, allocations: 0 / 0.5844 GB, free: 4.23 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.888e-05/0.1512, allocations: 3.938 kB / 0.5844 GB, free: 4.227 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00014/0.1513, allocations: 4 kB / 0.5844 GB, free: 4.223 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.814e-05/0.1514, allocations: 27.91 kB / 0.5845 GB, free: 4.195 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.174e-05/0.1514, allocations: 16 kB / 0.5845 GB, free: 4.18 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.793e-05/0.1515, allocations: 7.984 kB / 0.5845 GB, free: 4.172 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.427e-05/0.1515, allocations: 11.94 kB / 0.5845 GB, free: 4.16 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004277/0.152, allocations: 321.9 kB / 0.5848 GB, free: 3.891 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.152, allocations: 3.938 kB / 0.5848 GB, free: 3.887 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.053e-05/0.152, allocations: 16 kB / 0.5848 GB, free: 3.871 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.369e-05/0.152, allocations: 7.984 kB / 0.5848 GB, free: 3.863 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.716e-05/0.1521, allocations: 19.86 kB / 0.5848 GB, free: 3.844 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.514e-05/0.1522, allocations: 39.84 kB / 0.5849 GB, free: 3.805 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.1522, allocations: 0 / 0.5849 GB, free: 3.805 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1522, allocations: 0 / 0.5849 GB, free: 3.805 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.1522, allocations: 0 / 0.5849 GB, free: 3.805 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.0003508/0.1525, allocations: 347.6 kB / 0.5852 GB, free: 3.418 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.1526, allocations: 12.03 kB / 0.5852 GB, free: 3.406 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.126e-05/0.1526, allocations: 8.781 kB / 0.5852 GB, free: 3.398 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.1527, allocations: 172.3 kB / 0.5854 GB, free: 3.191 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-06/0.1528, allocations: 384 / 0.5854 GB, free: 3.191 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.1528, allocations: 4.375 kB / 0.5854 GB, free: 3.188 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.1529, allocations: 53.81 kB / 0.5854 GB, free: 3.129 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.381e-06/0.1529, allocations: 0 / 0.5854 GB, free: 3.129 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.1529, allocations: 4 kB / 0.5855 GB, free: 3.125 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.1529, allocations: 3.938 kB / 0.5855 GB, free: 3.121 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.444e-05/0.153, allocations: 15.98 kB / 0.5855 GB, free: 3.105 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003107/0.1533, allocations: 282.5 kB / 0.5857 GB, free: 2.781 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.547e-05/0.1533, allocations: 14.58 kB / 0.5858 GB, free: 2.758 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.802e-05/0.1533, allocations: 12.92 kB / 0.5858 GB, free: 2.742 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.262e-06/0.1534, allocations: 0 / 0.5858 GB, free: 2.742 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.1534, allocations: 30.56 kB / 0.5858 GB, free: 2.703 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.41e-07/0.1534, allocations: 3.938 kB / 0.5858 GB, free: 2.699 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.000126/0.1535, allocations: 37.61 kB / 0.5858 GB, free: 2.656 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.1536, allocations: 51.41 kB / 0.5859 GB, free: 2.594 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.1537, allocations: 140.9 kB / 0.586 GB, free: 2.449 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.1537, allocations: 29.83 kB / 0.586 GB, free: 2.414 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.356e-05/0.1538, allocations: 96.03 kB / 0.5861 GB, free: 2.316 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.197e-06/0.1538, allocations: 11.83 kB / 0.5862 GB, free: 2.305 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.959e-05/0.1538, allocations: 25.7 kB / 0.5862 GB, free: 2.273 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.1539, allocations: 318.8 kB / 0.5865 GB, free: 1.953 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.653e-05/0.154, allocations: 11.98 kB / 0.5865 GB, free: 1.941 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.14e-05/0.154, allocations: 8 kB / 0.5865 GB, free: 1.934 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.831e-05/0.154, allocations: 24.92 kB / 0.5865 GB, free: 1.906 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.154, allocations: 7.938 kB / 0.5865 GB, free: 1.898 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001048/0.1542, allocations: 65.67 kB / 0.5866 GB, free: 1.828 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.1542, allocations: 4 kB / 0.5866 GB, free: 1.824 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.1542, allocations: 0 / 0.5866 GB, free: 1.824 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.1542, allocations: 0 / 0.5866 GB, free: 1.824 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.114e-05/0.1542, allocations: 4 kB / 0.5866 GB, free: 1.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.1542, allocations: 0 / 0.5866 GB, free: 1.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.391e-05/0.1543, allocations: 3.906 kB / 0.5866 GB, free: 1.816 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.1543, allocations: 11.92 kB / 0.5866 GB, free: 1.805 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.641e-05/0.1544, allocations: 113.8 kB / 0.5867 GB, free: 1.684 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.1544, allocations: 8 kB / 0.5867 GB, free: 1.676 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.819e-05/0.1544, allocations: 7.516 kB / 0.5867 GB, free: 1.664 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.1544, allocations: 7.938 kB / 0.5867 GB, free: 1.656 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1544, allocations: 0 / 0.5867 GB, free: 1.656 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-06/0.1544, allocations: 0 / 0.5867 GB, free: 1.656 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000259/0.1547, allocations: 366.6 kB / 0.5871 GB, free: 1.238 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1547, allocations: 0 / 0.5871 GB, free: 1.238 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.817e-06/0.1547, allocations: 0 / 0.5871 GB, free: 1.238 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.1547, allocations: 4.031 kB / 0.5871 GB, free: 1.234 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.1547, allocations: 0 / 0.5871 GB, free: 1.234 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.1547, allocations: 3.938 kB / 0.5871 GB, free: 1.23 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1547, allocations: 0 / 0.5871 GB, free: 1.23 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.947e-05/0.1548, allocations: 57.08 kB / 0.5872 GB, free: 1.156 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.275e-05/0.1549, allocations: 89 kB / 0.5872 GB, free: 1.051 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.1549, allocations: 0 / 0.5872 GB, free: 1.051 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.497e-05/0.1549, allocations: 8 kB / 0.5872 GB, free: 1.043 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.735e-05/0.155, allocations: 4.031 kB / 0.5873 GB, free: 1.039 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.155, allocations: 8 kB / 0.5873 GB, free: 1.031 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.521e-05/0.155, allocations: 95.27 kB / 0.5874 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.155, allocations: 0 / 0.5874 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001961/0.1552, allocations: 19.98 kB / 0.5874 GB, free: 0.918 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.0002749/0.1555, allocations: 117.7 kB / 0.5875 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.825e-05/0.1556, allocations: 23.92 kB / 0.5875 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.1556, allocations: 3.938 kB / 0.5875 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.896e-06/0.1556, allocations: 4 kB / 0.5875 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001337/0.1558, allocations: 3.094 kB / 0.5875 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002062/0.156, allocations: 126.8 kB / 0.5876 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00024/0.1562, allocations: 0.6809 MB / 0.5883 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.914e-05/0.1563, allocations: 12.06 kB / 0.5883 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.555e-05/0.1563, allocations: 7.438 kB / 0.5883 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.1563, allocations: 0 / 0.5883 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of Templates: time 0.002264/0.1586, allocations: 0.519 MB / 0.5888 GB, free: 15.38 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Cryptographics.Validation.SHA1.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Cryptographics.Validation.SHA1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Cryptographics.Validation.SHA1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Cryptographics.Validation.SHA1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Cryptographics.Validation.SHA1.sim & ./IDEAS_dev_IDEAS.Utilities.Cryptographics.Validation.SHA1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1)