Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Utilities_Cryptographics_Validation_SHA1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="IDEAS_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.004915/0.004914, allocations: 95.58 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.001402/0.001402, allocations: 204.1 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.372/1.372, 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/package.mo): time 0.7476/0.7476, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00202/0.002021, allocations: 56.14 kB / 0.5808 GB, free: 8.098 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3934/0.3955, allocations: 80.21 MB / 0.6592 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Cryptographics.Validation.SHA1): time 0.001472/0.397, allocations: 0.5184 MB / 0.6597 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003885/0.3974, allocations: 155.6 kB / 0.6598 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.92e-05/0.3974, allocations: 0 / 0.6598 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.782e-05/0.3974, allocations: 3.938 kB / 0.6598 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001993/0.3976, allocations: 8.953 kB / 0.6598 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 6.187e-05/0.3977, allocations: 27.09 kB / 0.6599 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.405e-05/0.3978, allocations: 26.75 kB / 0.6599 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.985e-05/0.3978, allocations: 3.891 kB / 0.6599 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.476e-05/0.3979, allocations: 18.86 kB / 0.6599 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003671/0.3982, allocations: 323 kB / 0.6602 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.3983, allocations: 5.375 kB / 0.6602 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.665e-05/0.3983, allocations: 18.98 kB / 0.6602 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.424e-05/0.3983, allocations: 14.75 kB / 0.6602 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.38e-05/0.3984, allocations: 12.8 kB / 0.6603 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.3985, allocations: 33.77 kB / 0.6603 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3985, allocations: 0.6094 kB / 0.6603 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3985, allocations: 0 / 0.6603 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.3985, allocations: 0 / 0.6603 GB, free: 9.406 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.0002586/0.3988, allocations: 356 kB / 0.6606 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.3988, allocations: 9.625 kB / 0.6606 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.484e-05/0.3988, allocations: 37.53 kB / 0.6607 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.653e-05/0.3989, allocations: 6.266 kB / 0.6607 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.172e-05/0.399, allocations: 173.8 kB / 0.6608 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.196e-06/0.399, allocations: 1.75 kB / 0.6608 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.399, allocations: 5.75 kB / 0.6609 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.3991, allocations: 52.8 kB / 0.6609 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.3991, allocations: 1.375 kB / 0.6609 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.695e-06/0.3991, allocations: 0 / 0.6609 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3991, allocations: 1.375 kB / 0.6609 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.926e-05/0.3992, allocations: 16.53 kB / 0.6609 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002711/0.3995, allocations: 284.9 kB / 0.6612 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 2.777e-05/0.3995, allocations: 16.56 kB / 0.6612 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.296e-05/0.3995, allocations: 6.234 kB / 0.6612 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.102e-06/0.3995, allocations: 1.375 kB / 0.6612 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.108e-05/0.3995, allocations: 31.31 kB / 0.6612 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.693e-06/0.3996, allocations: 5.375 kB / 0.6613 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001256/0.3997, allocations: 45.64 kB / 0.6613 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.956e-05/0.3997, allocations: 52.2 kB / 0.6613 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.793e-05/0.3998, allocations: 137.4 kB / 0.6615 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.472e-06/0.3998, allocations: 25.7 kB / 0.6615 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.151e-05/0.3999, allocations: 100.1 kB / 0.6616 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.4e-06/0.3999, allocations: 2.031 kB / 0.6616 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.89e-05/0.3999, allocations: 25.02 kB / 0.6616 GB, free: 8 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.259e-05/0.4, allocations: 330.5 kB / 0.6619 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.651e-05/0.4, allocations: 12.23 kB / 0.6619 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.375e-05/0.4, allocations: 7.062 kB / 0.662 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.35e-05/0.4001, allocations: 19.2 kB / 0.662 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.4001, allocations: 0 / 0.662 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001007/0.4002, allocations: 71.34 kB / 0.662 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.4002, allocations: 5.641 kB / 0.662 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.4002, allocations: 1.469 kB / 0.662 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.4002, allocations: 0 / 0.662 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.023e-05/0.4002, allocations: 2.719 kB / 0.6621 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.4003, allocations: 5.344 kB / 0.6621 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.431e-05/0.4003, allocations: 9.156 kB / 0.6621 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.4003, allocations: 3.547 kB / 0.6621 GB, free: 7.594 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.512e-05/0.4003, allocations: 115.7 kB / 0.6622 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.4004, allocations: 6.453 kB / 0.6622 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.977e-05/0.4004, allocations: 7.656 kB / 0.6622 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.81e-07/0.4004, allocations: 0 / 0.6622 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.4004, allocations: 0.6094 kB / 0.6622 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.4004, allocations: 3.938 kB / 0.6622 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.4006, allocations: 370.1 kB / 0.6626 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4006, allocations: 0 / 0.6626 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.591e-06/0.4006, allocations: 1.875 kB / 0.6626 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.4006, allocations: 3.938 kB / 0.6626 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-06/0.4006, allocations: 3.938 kB / 0.6626 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.4006, allocations: 1.719 kB / 0.6626 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4007, allocations: 0 / 0.6626 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.91e-05/0.4007, allocations: 70.94 kB / 0.6626 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.716e-05/0.4007, allocations: 79.03 kB / 0.6627 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.4008, allocations: 5.953 kB / 0.6627 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.206e-05/0.4008, allocations: 0 / 0.6627 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.069e-05/0.4008, allocations: 2.016 kB / 0.6627 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.4008, allocations: 1.344 kB / 0.6627 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.676e-05/0.4009, allocations: 106.2 kB / 0.6628 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4009, allocations: 0 / 0.6628 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001968/0.4011, allocations: 14.5 kB / 0.6628 GB, free: 6.785 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.0003019/0.4014, allocations: 0.6209 MB / 0.6634 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.594e-05/0.4015, allocations: 31.59 kB / 0.6635 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4015, allocations: 0 / 0.6635 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.965e-06/0.4015, allocations: 3.125 kB / 0.6635 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001329/0.4016, allocations: 5.766 kB / 0.6635 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002622/0.4019, allocations: 145.7 kB / 0.6636 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.566e-05/0.402, allocations: 0.6813 MB / 0.6643 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.688e-05/0.402, allocations: 10.42 kB / 0.6643 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.35e-05/0.402, allocations: 14.2 kB / 0.6643 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.4021, allocations: 1.344 kB / 0.6643 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0157/0.4178, allocations: 1.588 MB / 0.6659 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.453/7.871, allocations: 6.688 kB / 0.6659 GB, free: 4.582 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Cryptographics.Validation.SHA1.pipe ; mkfifo IDEAS_IDEAS.Utilities.Cryptographics.Validation.SHA1.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Cryptographics.Validation.SHA1.pipe >> ../files/IDEAS_IDEAS.Utilities.Cryptographics.Validation.SHA1.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Utilities_Cryptographics_Validation_SHA1.fmu > IDEAS_IDEAS.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1)