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.001081/0.001085, allocations: 108 kB / 15.61 MB, free: 152 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.00111/0.00111, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.326/1.326, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7838/0.7838, allocations: 132.2 MB / 422.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 55.97 kB / 0.5019 GB, free: 3.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4178/0.4191, allocations: 80.2 MB / 0.5802 GB, free: 4.43 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Cryptographics.Validation.SHA1): time 0.002159/0.4214, allocations: 0.5398 MB / 0.5807 GB, free: 4.094 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004836/0.4219, allocations: 141.8 kB / 0.5808 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.563e-05/0.4219, allocations: 1.125 kB / 0.5808 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.126e-05/0.4219, allocations: 3.938 kB / 0.5808 GB, free: 4 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002187/0.4222, allocations: 7.547 kB / 0.5808 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.033e-05/0.4223, allocations: 27.66 kB / 0.5809 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.55e-05/0.4224, allocations: 18.59 kB / 0.5809 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.178e-05/0.4224, allocations: 3.859 kB / 0.5809 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.641e-05/0.4225, allocations: 27.45 kB / 0.5809 GB, free: 3.957 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003773/0.4228, allocations: 311.4 kB / 0.5812 GB, free: 3.844 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.4229, allocations: 0.5938 kB / 0.5812 GB, free: 3.844 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.7e-05/0.4229, allocations: 18.83 kB / 0.5812 GB, free: 3.836 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.693e-05/0.423, allocations: 11.25 kB / 0.5812 GB, free: 3.828 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.743e-05/0.423, allocations: 13.7 kB / 0.5813 GB, free: 3.82 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001178/0.4231, allocations: 33.89 kB / 0.5813 GB, free: 3.805 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.4231, allocations: 3.938 kB / 0.5813 GB, free: 3.801 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4231, allocations: 0.75 kB / 0.5813 GB, free: 3.801 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.4231, allocations: 0 / 0.5813 GB, free: 3.801 MB / 430.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.0003014/0.4235, allocations: 361.5 kB / 0.5816 GB, free: 3.422 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.4235, allocations: 9.969 kB / 0.5817 GB, free: 3.422 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.895e-05/0.4235, allocations: 31.36 kB / 0.5817 GB, free: 3.383 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.138e-05/0.4236, allocations: 8.719 kB / 0.5817 GB, free: 3.379 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.068e-05/0.4236, allocations: 167.4 kB / 0.5819 GB, free: 3.18 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.4237, allocations: 2.594 kB / 0.5819 GB, free: 3.18 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.4237, allocations: 6.062 kB / 0.5819 GB, free: 3.176 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.4238, allocations: 53.91 kB / 0.5819 GB, free: 3.133 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.4238, allocations: 5.562 kB / 0.5819 GB, free: 3.129 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.4238, allocations: 0 / 0.5819 GB, free: 3.129 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.4238, allocations: 0.875 kB / 0.5819 GB, free: 3.129 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.531e-05/0.4239, allocations: 17.44 kB / 0.5819 GB, free: 3.125 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003057/0.4242, allocations: 276.2 kB / 0.5822 GB, free: 2.84 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.241e-05/0.4243, allocations: 18.16 kB / 0.5822 GB, free: 2.816 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.525e-05/0.4243, allocations: 6.078 kB / 0.5822 GB, free: 2.809 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.673e-06/0.4243, allocations: 7.938 kB / 0.5822 GB, free: 2.801 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/0.4243, allocations: 32.06 kB / 0.5823 GB, free: 2.762 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.203e-06/0.4243, allocations: 0 / 0.5823 GB, free: 2.762 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001338/0.4245, allocations: 42.47 kB / 0.5823 GB, free: 2.723 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.361e-05/0.4245, allocations: 56.34 kB / 0.5824 GB, free: 2.656 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.4246, allocations: 139.7 kB / 0.5825 GB, free: 2.543 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.135e-06/0.4246, allocations: 26.77 kB / 0.5825 GB, free: 2.512 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.178e-05/0.4246, allocations: 91.5 kB / 0.5826 GB, free: 2.422 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.662e-06/0.4247, allocations: 9.781 kB / 0.5826 GB, free: 2.414 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.397e-05/0.4247, allocations: 25.53 kB / 0.5826 GB, free: 2.395 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.15e-05/0.4248, allocations: 322.7 kB / 0.5829 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.114e-05/0.4248, allocations: 11.19 kB / 0.583 GB, free: 2.07 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.46e-05/0.4248, allocations: 11.72 kB / 0.583 GB, free: 2.066 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.546e-05/0.4249, allocations: 22.27 kB / 0.583 GB, free: 2.051 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4249, allocations: 3.938 kB / 0.583 GB, free: 2.047 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000114/0.425, allocations: 63.94 kB / 0.583 GB, free: 2.004 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.425, allocations: 9.312 kB / 0.5831 GB, free: 2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.4251, allocations: 0.7812 kB / 0.5831 GB, free: 2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.4251, allocations: 0.8125 kB / 0.5831 GB, free: 2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.382e-05/0.4251, allocations: 2.875 kB / 0.5831 GB, free: 2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.4251, allocations: 3.938 kB / 0.5831 GB, free: 1.996 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.998e-05/0.4251, allocations: 10.09 kB / 0.5831 GB, free: 1.988 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.4252, allocations: 2.312 kB / 0.5831 GB, free: 1.988 MB / 430.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 5.052e-05/0.4252, allocations: 117.1 kB / 0.5832 GB, free: 1.867 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.4252, allocations: 6.281 kB / 0.5832 GB, free: 1.863 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.296e-05/0.4253, allocations: 10.78 kB / 0.5832 GB, free: 1.855 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.4253, allocations: 1 kB / 0.5832 GB, free: 1.855 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.4253, allocations: 0 / 0.5832 GB, free: 1.855 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.4253, allocations: 5.406 kB / 0.5832 GB, free: 1.852 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002144/0.4255, allocations: 357.2 kB / 0.5836 GB, free: 1.465 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.4255, allocations: 1.062 kB / 0.5836 GB, free: 1.465 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.949e-06/0.4255, allocations: 0 / 0.5836 GB, free: 1.465 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.4256, allocations: 1.516 kB / 0.5836 GB, free: 1.465 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.4256, allocations: 7.875 kB / 0.5836 GB, free: 1.457 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.4256, allocations: 5.094 kB / 0.5836 GB, free: 1.453 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.4256, allocations: 4.641 kB / 0.5836 GB, free: 1.449 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.12e-05/0.4256, allocations: 54.38 kB / 0.5836 GB, free: 1.387 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.211e-05/0.4257, allocations: 87.19 kB / 0.5837 GB, free: 1.285 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.4257, allocations: 5.219 kB / 0.5837 GB, free: 1.281 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.359e-05/0.4257, allocations: 0.75 kB / 0.5837 GB, free: 1.281 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.178e-05/0.4257, allocations: 2.578 kB / 0.5837 GB, free: 1.281 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.4257, allocations: 4.031 kB / 0.5837 GB, free: 1.277 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.147e-05/0.4258, allocations: 103.7 kB / 0.5838 GB, free: 1.195 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4258, allocations: 0 / 0.5838 GB, free: 1.195 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002163/0.426, allocations: 13.84 kB / 0.5838 GB, free: 1.191 MB / 430.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.000382/0.4264, allocations: 0.6266 MB / 0.5844 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001005/0.4265, allocations: 24.86 kB / 0.5845 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4265, allocations: 3.938 kB / 0.5845 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.598e-06/0.4266, allocations: 3.172 kB / 0.5845 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001411/0.4267, allocations: 11.91 kB / 0.5845 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003035/0.427, allocations: 151.1 kB / 0.5846 GB, free: 408 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001971/0.4272, allocations: 0.681 MB / 0.5853 GB, free: 15.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.86e-05/0.4273, allocations: 5.859 kB / 0.5853 GB, free: 15.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.715e-05/0.4273, allocations: 14.8 kB / 0.5853 GB, free: 15.69 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4273, allocations: 0 / 0.5853 GB, free: 15.69 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01823/0.4455, allocations: 1.549 MB / 0.5868 GB, free: 15.27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.248/7.693, allocations: 9.531 kB / 0.5868 GB, free: 15.27 MB / 446.1 MB (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)