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.001057/0.001057, allocations: 112.5 kB / 15.73 MB, free: 76 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.001069/0.001069, allocations: 191.2 kB / 16.66 MB, free: 6.582 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9521/0.9521, allocations: 135.1 MB / 425.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 60.14 kB / 0.5851 GB, free: 3.863 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.409/0.4104, allocations: 80.91 MB / 0.6641 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Cryptographics.Validation.SHA1): time 0.001509/0.412, allocations: 0.5314 MB / 0.6646 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003853/0.4124, allocations: 153.9 kB / 0.6648 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.012e-05/0.4124, allocations: 0 / 0.6648 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.551e-05/0.4125, allocations: 5.188 kB / 0.6648 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001936/0.4127, allocations: 6.594 kB / 0.6648 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 6.501e-05/0.4127, allocations: 26.88 kB / 0.6648 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.851e-05/0.4128, allocations: 27.52 kB / 0.6648 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.424e-05/0.4129, allocations: 6.609 kB / 0.6649 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.289e-05/0.4129, allocations: 17.2 kB / 0.6649 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003071/0.4132, allocations: 314.1 kB / 0.6652 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.4132, allocations: 1.281 kB / 0.6652 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.625e-05/0.4133, allocations: 16.72 kB / 0.6652 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.324e-05/0.4133, allocations: 14.52 kB / 0.6652 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.248e-05/0.4133, allocations: 14.55 kB / 0.6652 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.646e-05/0.4134, allocations: 31.89 kB / 0.6652 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4134, allocations: 1.094 kB / 0.6652 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4134, allocations: 0 / 0.6652 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.4134, allocations: 3.984 kB / 0.6652 GB, free: 6.621 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.00026/0.4137, allocations: 353.8 kB / 0.6656 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.4138, allocations: 13.91 kB / 0.6656 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.661e-05/0.4138, allocations: 30.75 kB / 0.6656 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.786e-05/0.4138, allocations: 8.234 kB / 0.6656 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.27e-05/0.4139, allocations: 171.2 kB / 0.6658 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.4139, allocations: 2 kB / 0.6658 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.4139, allocations: 5.594 kB / 0.6658 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.414, allocations: 48.78 kB / 0.6659 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.4141, allocations: 0 / 0.6659 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.4141, allocations: 3.984 kB / 0.6659 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.4141, allocations: 9.016 kB / 0.6659 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.729e-05/0.4141, allocations: 17.31 kB / 0.6659 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002662/0.4144, allocations: 279.2 kB / 0.6661 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.331e-05/0.4145, allocations: 24.05 kB / 0.6662 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.496e-05/0.4145, allocations: 5.953 kB / 0.6662 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.36e-06/0.4145, allocations: 0 / 0.6662 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.586e-05/0.4145, allocations: 32.03 kB / 0.6662 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.4145, allocations: 4 kB / 0.6662 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001271/0.4146, allocations: 40.91 kB / 0.6662 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.297e-05/0.4147, allocations: 55.34 kB / 0.6663 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.29e-05/0.4148, allocations: 144.3 kB / 0.6664 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.71e-06/0.4148, allocations: 25.7 kB / 0.6665 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.885e-05/0.4148, allocations: 99.34 kB / 0.6666 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.2e-06/0.4148, allocations: 1.188 kB / 0.6666 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.605e-05/0.4149, allocations: 25.45 kB / 0.6666 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.963e-05/0.4149, allocations: 324.3 kB / 0.6669 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.589e-05/0.4149, allocations: 14.3 kB / 0.6669 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.048e-05/0.415, allocations: 6.781 kB / 0.6669 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.344e-05/0.415, allocations: 28.97 kB / 0.6669 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.415, allocations: 0 / 0.6669 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.698e-05/0.4151, allocations: 66.61 kB / 0.667 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.4151, allocations: 5.875 kB / 0.667 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.4151, allocations: 0 / 0.667 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.4152, allocations: 1.125 kB / 0.667 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.905e-05/0.4152, allocations: 5.344 kB / 0.667 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.4152, allocations: 0 / 0.667 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.58e-05/0.4152, allocations: 10.66 kB / 0.667 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-06/0.4152, allocations: 1.562 kB / 0.667 GB, free: 4.746 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.498e-05/0.4153, allocations: 115.2 kB / 0.6671 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/0.4153, allocations: 6.828 kB / 0.6671 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.732e-05/0.4153, allocations: 5.844 kB / 0.6672 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.4153, allocations: 0 / 0.6672 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.4153, allocations: 0 / 0.6672 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.4154, allocations: 9.562 kB / 0.6672 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001866/0.4155, allocations: 362.5 kB / 0.6675 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4156, allocations: 3.938 kB / 0.6675 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.687e-06/0.4156, allocations: 0 / 0.6675 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.113e-06/0.4156, allocations: 1.406 kB / 0.6675 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.4156, allocations: 3.938 kB / 0.6675 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.4156, allocations: 0 / 0.6675 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4156, allocations: 1.312 kB / 0.6675 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.969e-05/0.4156, allocations: 64.2 kB / 0.6676 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.628e-05/0.4157, allocations: 82.7 kB / 0.6677 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.4157, allocations: 3.938 kB / 0.6677 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.317e-05/0.4157, allocations: 1.219 kB / 0.6677 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.806e-05/0.4157, allocations: 1.469 kB / 0.6677 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-06/0.4157, allocations: 4 kB / 0.6677 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.475e-05/0.4158, allocations: 106.8 kB / 0.6678 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4158, allocations: 4.031 kB / 0.6678 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002168/0.416, allocations: 9.844 kB / 0.6678 GB, free: 3.926 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.0003439/0.4164, allocations: 0.6256 MB / 0.6684 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.412e-05/0.4165, allocations: 25.56 kB / 0.6684 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4165, allocations: 1.125 kB / 0.6684 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.915e-06/0.4165, allocations: 5.203 kB / 0.6684 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001412/0.4166, allocations: 7.156 kB / 0.6684 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002886/0.4169, allocations: 139.6 kB / 0.6686 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.57e-05/0.417, allocations: 0.6883 MB / 0.6692 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.814e-05/0.4171, allocations: 8.266 kB / 0.6692 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.721e-05/0.4171, allocations: 13.56 kB / 0.6693 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.4171, allocations: 0 / 0.6693 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01706/0.4342, allocations: 1.597 MB / 0.6708 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.622/8.057, allocations: 1.875 kB / 0.6708 GB, free: 1.48 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)