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: "" <> buildModelFMU(IDEAS.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Cryptographics_Validation_SHA1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Cryptographics_Validation_SHA1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001917/0.001917, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.39/1.39, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9509/0.9509, allocations: 135.1 MB / 425.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 64.69 kB / 0.5054 GB, free: 5.195 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1367, allocations: 80.93 MB / 0.5845 GB, free: 4.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Cryptographics.Validation.SHA1): time 0.001643/0.1384, allocations: 0.5146 MB / 0.585 GB, free: 3.91 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003893/0.1388, allocations: 156 kB / 0.5851 GB, free: 3.754 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.661e-05/0.1388, allocations: 4 kB / 0.5851 GB, free: 3.75 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.527e-05/0.1388, allocations: 0 / 0.5851 GB, free: 3.75 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001601/0.139, allocations: 7.875 kB / 0.5851 GB, free: 3.742 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.788e-05/0.1391, allocations: 27.97 kB / 0.5852 GB, free: 3.715 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.918e-05/0.1392, allocations: 27.92 kB / 0.5852 GB, free: 3.688 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.622e-05/0.1392, allocations: 4 kB / 0.5852 GB, free: 3.684 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.933e-05/0.1392, allocations: 7.938 kB / 0.5852 GB, free: 3.676 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000311/0.1395, allocations: 322.9 kB / 0.5855 GB, free: 3.402 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.1396, allocations: 4 kB / 0.5855 GB, free: 3.398 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.641e-05/0.1396, allocations: 15.98 kB / 0.5855 GB, free: 3.383 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.091e-05/0.1397, allocations: 0 / 0.5855 GB, free: 3.383 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.641e-05/0.1397, allocations: 19.86 kB / 0.5855 GB, free: 3.363 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.024e-05/0.1398, allocations: 39.83 kB / 0.5856 GB, free: 3.324 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1398, allocations: 0 / 0.5856 GB, free: 3.324 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1398, allocations: 4 kB / 0.5856 GB, free: 3.32 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1398, allocations: 0 / 0.5856 GB, free: 3.32 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.000296/0.1401, allocations: 355.6 kB / 0.5859 GB, free: 2.926 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.1402, allocations: 11.97 kB / 0.5859 GB, free: 2.914 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.285e-05/0.1402, allocations: 30.75 kB / 0.586 GB, free: 2.875 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.59e-05/0.1402, allocations: 8.844 kB / 0.586 GB, free: 2.867 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.993e-05/0.1403, allocations: 172.3 kB / 0.5861 GB, free: 2.66 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.1404, allocations: 4.359 kB / 0.5861 GB, free: 2.656 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.1404, allocations: 8.375 kB / 0.5861 GB, free: 2.648 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.1405, allocations: 53.61 kB / 0.5862 GB, free: 2.59 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.1405, allocations: 0 / 0.5862 GB, free: 2.59 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.1405, allocations: 0 / 0.5862 GB, free: 2.59 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.1405, allocations: 4 kB / 0.5862 GB, free: 2.586 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.822e-05/0.1406, allocations: 19.92 kB / 0.5862 GB, free: 2.566 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003015/0.1409, allocations: 276.8 kB / 0.5865 GB, free: 2.246 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.299e-05/0.1409, allocations: 14.58 kB / 0.5865 GB, free: 2.223 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.809e-05/0.1409, allocations: 8.859 kB / 0.5865 GB, free: 2.211 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.524e-06/0.141, allocations: 4.062 kB / 0.5865 GB, free: 2.207 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.141, allocations: 34.55 kB / 0.5865 GB, free: 2.164 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.71e-07/0.141, allocations: 0 / 0.5865 GB, free: 2.164 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001278/0.1411, allocations: 41.55 kB / 0.5866 GB, free: 2.117 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.1412, allocations: 55.41 kB / 0.5866 GB, free: 2.051 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.1413, allocations: 129.8 kB / 0.5868 GB, free: 1.914 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.1413, allocations: 29.7 kB / 0.5868 GB, free: 1.879 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.327e-05/0.1413, allocations: 100.1 kB / 0.5869 GB, free: 1.777 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.554e-06/0.1413, allocations: 7.906 kB / 0.5869 GB, free: 1.77 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.769e-05/0.1414, allocations: 21.72 kB / 0.5869 GB, free: 1.742 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.496e-05/0.1415, allocations: 322.8 kB / 0.5872 GB, free: 1.418 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.324e-05/0.1415, allocations: 7.938 kB / 0.5872 GB, free: 1.41 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.287e-05/0.1415, allocations: 16.11 kB / 0.5872 GB, free: 1.395 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.796e-05/0.1416, allocations: 20.86 kB / 0.5873 GB, free: 1.371 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1416, allocations: 3.938 kB / 0.5873 GB, free: 1.367 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001079/0.1417, allocations: 65.69 kB / 0.5873 GB, free: 1.297 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.1417, allocations: 6.031 kB / 0.5873 GB, free: 1.293 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1417, allocations: 0 / 0.5873 GB, free: 1.293 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.1418, allocations: 0 / 0.5873 GB, free: 1.293 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.972e-05/0.1418, allocations: 3.984 kB / 0.5873 GB, free: 1.289 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.1418, allocations: 4 kB / 0.5873 GB, free: 1.285 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.605e-05/0.1418, allocations: 7.844 kB / 0.5874 GB, free: 1.277 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.1418, allocations: 4 kB / 0.5874 GB, free: 1.273 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.197e-05/0.1419, allocations: 109.8 kB / 0.5875 GB, free: 1.156 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.863e-05/0.1419, allocations: 11.91 kB / 0.5875 GB, free: 1.145 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.774e-05/0.142, allocations: 3.531 kB / 0.5875 GB, free: 1.137 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.142, allocations: 3.984 kB / 0.5875 GB, free: 1.133 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.142, allocations: 3.938 kB / 0.5875 GB, free: 1.129 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.142, allocations: 3.938 kB / 0.5875 GB, free: 1.125 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002412/0.1422, allocations: 354.8 kB / 0.5878 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1422, allocations: 7.938 kB / 0.5878 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.158e-06/0.1423, allocations: 0 / 0.5878 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1423, allocations: 32 / 0.5878 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.1423, allocations: 11.92 kB / 0.5878 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1423, allocations: 0 / 0.5878 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1423, allocations: 0 / 0.5878 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.154e-05/0.1424, allocations: 57.08 kB / 0.5879 GB, free: 0.625 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.293e-05/0.1424, allocations: 81.02 kB / 0.588 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.1424, allocations: 12 kB / 0.588 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.699e-05/0.1424, allocations: 4 kB / 0.588 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.247e-05/0.1425, allocations: 8.016 kB / 0.588 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/0.1425, allocations: 0 / 0.588 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.678e-05/0.1425, allocations: 100.5 kB / 0.5881 GB, free: 416 kB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1425, allocations: 0 / 0.5881 GB, free: 416 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.000202/0.1427, allocations: 16 kB / 0.5881 GB, free: 400 kB / 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.0004462/0.1432, allocations: 0.617 MB / 0.5887 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.863e-05/0.1433, allocations: 31.86 kB / 0.5887 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1433, allocations: 0 / 0.5887 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.618e-06/0.1433, allocations: 4 kB / 0.5887 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001324/0.1435, allocations: 2.188 kB / 0.5887 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003072/0.1438, allocations: 160.2 kB / 0.5889 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001882/0.144, allocations: 0.6768 MB / 0.5896 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.772e-05/0.144, allocations: 12.12 kB / 0.5896 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.232e-05/0.144, allocations: 23.36 kB / 0.5896 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of SimCode: time 2.9e-07/0.1441, allocations: 0 / 0.5896 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01647/0.1605, allocations: 1.544 MB / 0.5911 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.302/7.463, allocations: 10.22 kB / 0.5911 GB, free: 13.31 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Cryptographics.Validation.SHA1_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Utilities_Cryptographics_Validation_SHA1.fmu > IDEAS_dev_IDEAS.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1)