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.005552/0.005552, allocations: 98.55 kB / 15.73 MB, free: 6.047 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.001152/0.001152, allocations: 194 kB / 16.67 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.342/1.342, 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.7618/0.7618, allocations: 132.2 MB / 422.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 66.38 kB / 0.5808 GB, free: 1.285 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1555, allocations: 80.2 MB / 0.6592 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Cryptographics.Validation.SHA1): time 0.001599/0.1571, allocations: 0.5243 MB / 0.6597 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004121/0.1576, allocations: 157.8 kB / 0.6598 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.735e-05/0.1576, allocations: 0 / 0.6598 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.698e-05/0.1576, allocations: 3.938 kB / 0.6598 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002009/0.1579, allocations: 7.938 kB / 0.6598 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 7.804e-05/0.158, allocations: 27.91 kB / 0.6599 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.826e-05/0.158, allocations: 23.86 kB / 0.6599 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.691e-05/0.1581, allocations: 7.984 kB / 0.6599 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.025e-05/0.1581, allocations: 11.94 kB / 0.6599 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003336/0.1584, allocations: 315.2 kB / 0.6602 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.1585, allocations: 4 kB / 0.6602 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.475e-05/0.1585, allocations: 19.97 kB / 0.6602 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.773e-05/0.1586, allocations: 11.94 kB / 0.6602 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.893e-05/0.1586, allocations: 3.938 kB / 0.6602 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.1587, allocations: 48.05 kB / 0.6603 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1587, allocations: 0 / 0.6603 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1587, allocations: 0 / 0.6603 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.1587, allocations: 0 / 0.6603 GB, free: 13.02 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.0003673/0.1591, allocations: 359.2 kB / 0.6606 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.1592, allocations: 11.97 kB / 0.6606 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.415e-05/0.1592, allocations: 34.75 kB / 0.6607 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.191e-05/0.1592, allocations: 4.891 kB / 0.6607 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.1594, allocations: 172.3 kB / 0.6608 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.1594, allocations: 384 / 0.6608 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.1594, allocations: 16.3 kB / 0.6609 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.1595, allocations: 51.89 kB / 0.6609 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.1596, allocations: 0 / 0.6609 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.1596, allocations: 4 kB / 0.6609 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1596, allocations: 4 kB / 0.6609 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.021e-05/0.1596, allocations: 15.98 kB / 0.6609 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003594/0.16, allocations: 276.9 kB / 0.6612 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.877e-05/0.1601, allocations: 18.52 kB / 0.6612 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.793e-05/0.1601, allocations: 8.922 kB / 0.6612 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.532e-06/0.1601, allocations: 0 / 0.6612 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.1601, allocations: 38.55 kB / 0.6613 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 2.204e-06/0.1601, allocations: 0 / 0.6613 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001421/0.1603, allocations: 45.59 kB / 0.6613 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.1603, allocations: 51.41 kB / 0.6613 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.1604, allocations: 133.8 kB / 0.6615 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.1605, allocations: 25.7 kB / 0.6615 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.881e-05/0.1605, allocations: 104 kB / 0.6616 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.35e-06/0.1605, allocations: 0 / 0.6616 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.894e-05/0.1606, allocations: 25.84 kB / 0.6616 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.1607, allocations: 322.8 kB / 0.6619 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.7e-05/0.1607, allocations: 12 kB / 0.6619 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.26e-05/0.1607, allocations: 7.984 kB / 0.662 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.607e-05/0.1608, allocations: 16.86 kB / 0.662 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1608, allocations: 0 / 0.662 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001178/0.1609, allocations: 65.64 kB / 0.662 GB, free: 11 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.1609, allocations: 4 kB / 0.662 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.1609, allocations: 0 / 0.662 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.161, allocations: 4 kB / 0.662 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.636e-05/0.161, allocations: 12.11 kB / 0.662 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.161, allocations: 0 / 0.662 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.126e-05/0.161, allocations: 11.88 kB / 0.6621 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.161, allocations: 4 kB / 0.6621 GB, free: 10.96 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 7.145e-05/0.1611, allocations: 113.8 kB / 0.6622 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/0.1612, allocations: 11.89 kB / 0.6622 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.371e-05/0.1612, allocations: 7.531 kB / 0.6622 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1612, allocations: 3.984 kB / 0.6622 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.1612, allocations: 4 kB / 0.6622 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.1612, allocations: 3.938 kB / 0.6622 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002611/0.1615, allocations: 358.7 kB / 0.6625 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1615, allocations: 0 / 0.6625 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.549e-06/0.1615, allocations: 0 / 0.6625 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1615, allocations: 0 / 0.6625 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.395e-06/0.1615, allocations: 7.922 kB / 0.6626 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1615, allocations: 0 / 0.6626 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1615, allocations: 0 / 0.6626 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.797e-05/0.1616, allocations: 65.12 kB / 0.6626 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.415e-05/0.1616, allocations: 81.11 kB / 0.6627 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.1617, allocations: 3.938 kB / 0.6627 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.312e-05/0.1617, allocations: 3.938 kB / 0.6627 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.019e-05/0.1617, allocations: 3.984 kB / 0.6627 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.1617, allocations: 4 kB / 0.6627 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.407e-05/0.1618, allocations: 103.1 kB / 0.6628 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1618, allocations: 4 kB / 0.6628 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002226/0.162, allocations: 12 kB / 0.6628 GB, free: 10.07 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.0004434/0.1625, allocations: 0.6261 MB / 0.6634 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.444e-05/0.1626, allocations: 23.92 kB / 0.6635 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1626, allocations: 0 / 0.6635 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.628e-06/0.1626, allocations: 7.938 kB / 0.6635 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.1627, allocations: 7.938 kB / 0.6635 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003145/0.1631, allocations: 146.5 kB / 0.6636 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002049/0.1633, allocations: 0.6846 MB / 0.6643 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.935e-05/0.1633, allocations: 12.38 kB / 0.6643 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.934e-05/0.1633, allocations: 15.42 kB / 0.6643 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of SimCode: time 4.91e-07/0.1633, allocations: 0 / 0.6643 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01572/0.1791, allocations: 1.591 MB / 0.6659 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.367/7.546, allocations: 0 / 0.6659 GB, free: 6.977 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)