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.007655/0.007655, allocations: 95.83 kB / 15.73 MB, free: 6.039 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.001859/0.001859, allocations: 199.6 kB / 16.68 MB, free: 5.969 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.031/1.031, allocations: 135.5 MB / 426.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 67.89 kB / 0.5857 GB, free: 3.242 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4082/0.4102, allocations: 81.02 MB / 0.6648 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Cryptographics.Validation.SHA1): time 0.001427/0.4117, allocations: 0.5229 MB / 0.6654 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003707/0.4121, allocations: 156.1 kB / 0.6655 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.605e-05/0.4121, allocations: 0 / 0.6655 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.499e-05/0.4121, allocations: 7.938 kB / 0.6655 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001948/0.4123, allocations: 7.844 kB / 0.6655 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 5.96e-05/0.4124, allocations: 26.75 kB / 0.6655 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.449e-05/0.4125, allocations: 24.39 kB / 0.6656 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.353e-05/0.4125, allocations: 2.438 kB / 0.6656 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.167e-05/0.4125, allocations: 17.03 kB / 0.6656 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003079/0.4129, allocations: 311.9 kB / 0.6659 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.4129, allocations: 5.312 kB / 0.6659 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.031e-05/0.4129, allocations: 13.72 kB / 0.6659 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.334e-05/0.413, allocations: 9.328 kB / 0.6659 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.341e-05/0.413, allocations: 26.92 kB / 0.6659 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.777e-05/0.4131, allocations: 32.2 kB / 0.666 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.4131, allocations: 0 / 0.666 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.363e-06/0.4131, allocations: 1.469 kB / 0.666 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.4131, allocations: 0 / 0.666 GB, free: 6.055 MB / 0.4981 GB 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.0002438/0.4134, allocations: 357 kB / 0.6663 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.4134, allocations: 9.781 kB / 0.6663 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.979e-05/0.4134, allocations: 31.94 kB / 0.6663 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.517e-05/0.4135, allocations: 7.391 kB / 0.6664 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.167e-05/0.4136, allocations: 175.1 kB / 0.6665 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.4136, allocations: 1.562 kB / 0.6665 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.817e-06/0.4136, allocations: 6.062 kB / 0.6665 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.4137, allocations: 52.41 kB / 0.6666 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.4137, allocations: 0 / 0.6666 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.694e-06/0.4137, allocations: 3.938 kB / 0.6666 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.4137, allocations: 1.531 kB / 0.6666 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.474e-05/0.4138, allocations: 17.58 kB / 0.6666 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002511/0.414, allocations: 279.4 kB / 0.6669 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 2.918e-05/0.4141, allocations: 19.89 kB / 0.6669 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.264e-05/0.4141, allocations: 7.359 kB / 0.6669 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.412e-06/0.4141, allocations: 0 / 0.6669 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.446e-05/0.4141, allocations: 35.84 kB / 0.6669 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.4141, allocations: 0 / 0.6669 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001131/0.4142, allocations: 36.12 kB / 0.667 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.061e-05/0.4143, allocations: 61.03 kB / 0.667 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.709e-05/0.4144, allocations: 140.6 kB / 0.6672 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.72e-06/0.4144, allocations: 25.7 kB / 0.6672 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.769e-05/0.4144, allocations: 98.88 kB / 0.6673 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.089e-06/0.4144, allocations: 1.625 kB / 0.6673 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.881e-05/0.4145, allocations: 25.3 kB / 0.6673 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.917e-05/0.4145, allocations: 321 kB / 0.6676 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.41e-05/0.4145, allocations: 8.922 kB / 0.6676 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.136e-05/0.4146, allocations: 18.81 kB / 0.6676 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.26e-05/0.4146, allocations: 24.81 kB / 0.6677 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.4146, allocations: 0 / 0.6677 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.395e-05/0.4147, allocations: 64.33 kB / 0.6677 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.4147, allocations: 4.156 kB / 0.6677 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.4147, allocations: 0 / 0.6677 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.4147, allocations: 1.094 kB / 0.6677 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.988e-05/0.4148, allocations: 2.125 kB / 0.6677 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.4148, allocations: 0 / 0.6677 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.38e-05/0.4148, allocations: 10.25 kB / 0.6677 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.4148, allocations: 5.469 kB / 0.6677 GB, free: 4.184 MB / 0.4981 GB 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 4.237e-05/0.4149, allocations: 119.4 kB / 0.6679 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/0.4149, allocations: 7.141 kB / 0.6679 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.599e-05/0.4149, allocations: 5.125 kB / 0.6679 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.4149, allocations: 0 / 0.6679 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.4149, allocations: 5.094 kB / 0.6679 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.4149, allocations: 3.938 kB / 0.6679 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.4151, allocations: 367.1 kB / 0.6682 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4151, allocations: 0 / 0.6682 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.517e-06/0.4151, allocations: 0 / 0.6682 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.4151, allocations: 1.156 kB / 0.6682 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.84e-06/0.4151, allocations: 7.922 kB / 0.6682 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.4151, allocations: 1.438 kB / 0.6682 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4152, allocations: 7.938 kB / 0.6682 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.627e-05/0.4152, allocations: 61.48 kB / 0.6683 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.382e-05/0.4152, allocations: 81.17 kB / 0.6684 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.4152, allocations: 5.094 kB / 0.6684 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.316e-05/0.4153, allocations: 5.094 kB / 0.6684 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.608e-05/0.4153, allocations: 1.281 kB / 0.6684 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.4153, allocations: 0 / 0.6684 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.059e-05/0.4153, allocations: 102.2 kB / 0.6685 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4153, allocations: 0 / 0.6685 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002104/0.4155, allocations: 16.92 kB / 0.6685 GB, free: 3.355 MB / 0.4981 GB 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.0003277/0.4159, allocations: 0.6203 MB / 0.6691 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.764e-05/0.416, allocations: 22 kB / 0.6691 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.416, allocations: 4.031 kB / 0.6691 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.704e-06/0.416, allocations: 2.406 kB / 0.6691 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.4161, allocations: 5.234 kB / 0.6691 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002762/0.4164, allocations: 147.6 kB / 0.6693 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.787e-05/0.4165, allocations: 0.6849 MB / 0.6699 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.899e-05/0.4166, allocations: 13.42 kB / 0.67 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.783e-05/0.4166, allocations: 16.97 kB / 0.67 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.4166, allocations: 0 / 0.67 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02145/0.438, allocations: 1.582 MB / 0.6715 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.888/8.327, allocations: 23.22 kB / 0.6715 GB, free: 0.9141 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)