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.007252/0.007252, allocations: 101.8 kB / 15.73 MB, free: 6.035 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.001761/0.001761, allocations: 192.7 kB / 16.67 MB, free: 5.973 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7884/0.7884, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 58.23 kB / 0.5808 GB, free: 1.148 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1683, allocations: 80.21 MB / 0.6592 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Cryptographics.Validation.SHA1): time 0.002348/0.1707, allocations: 0.5204 MB / 0.6597 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005755/0.1713, allocations: 148.5 kB / 0.6598 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.393e-05/0.1714, allocations: 4 kB / 0.6598 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.86e-05/0.1714, allocations: 3.938 kB / 0.6598 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002722/0.1717, allocations: 7.938 kB / 0.6598 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001163/0.1719, allocations: 31.84 kB / 0.6599 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.895e-05/0.172, allocations: 23.92 kB / 0.6599 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.482e-05/0.172, allocations: 4 kB / 0.6599 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.174e-05/0.1721, allocations: 19.84 kB / 0.6599 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004583/0.1726, allocations: 313.8 kB / 0.6602 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.1726, allocations: 0 / 0.6602 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.686e-05/0.1727, allocations: 23.98 kB / 0.6602 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.537e-05/0.1727, allocations: 3.938 kB / 0.6602 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.942e-05/0.1727, allocations: 11.94 kB / 0.6602 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.1729, allocations: 39.83 kB / 0.6603 GB, free: 13 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.1729, allocations: 0 / 0.6603 GB, free: 13 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1729, allocations: 0 / 0.6603 GB, free: 13 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.1729, allocations: 0 / 0.6603 GB, free: 13 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.0003638/0.1733, allocations: 358.2 kB / 0.6606 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.1733, allocations: 8.031 kB / 0.6606 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.108e-05/0.1733, allocations: 30.75 kB / 0.6607 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.328e-05/0.1734, allocations: 8.938 kB / 0.6607 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.1735, allocations: 177.1 kB / 0.6608 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.1735, allocations: 384 / 0.6608 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.937e-06/0.1735, allocations: 384 / 0.6608 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.1737, allocations: 63.84 kB / 0.6609 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.1737, allocations: 0 / 0.6609 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.1737, allocations: 3.938 kB / 0.6609 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1737, allocations: 0 / 0.6609 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.083e-05/0.1738, allocations: 19.98 kB / 0.6609 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003529/0.1741, allocations: 284.8 kB / 0.6612 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.105e-05/0.1742, allocations: 18.58 kB / 0.6612 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.903e-05/0.1742, allocations: 4.859 kB / 0.6612 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.297e-06/0.1742, allocations: 7.922 kB / 0.6612 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.1743, allocations: 34.62 kB / 0.6613 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.1743, allocations: 3.938 kB / 0.6613 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001451/0.1744, allocations: 29.8 kB / 0.6613 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.1745, allocations: 59.44 kB / 0.6613 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.1746, allocations: 141 kB / 0.6615 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.1746, allocations: 25.7 kB / 0.6615 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.43e-05/0.1747, allocations: 99.97 kB / 0.6616 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.909e-06/0.1747, allocations: 0 / 0.6616 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.086e-05/0.1747, allocations: 29.7 kB / 0.6616 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.1749, allocations: 318.8 kB / 0.6619 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.889e-05/0.1749, allocations: 11.98 kB / 0.6619 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.344e-05/0.1749, allocations: 15.94 kB / 0.662 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.332e-05/0.175, allocations: 16.86 kB / 0.662 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.175, allocations: 0 / 0.662 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.00012/0.1751, allocations: 65.58 kB / 0.662 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.1751, allocations: 8 kB / 0.662 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1752, allocations: 0 / 0.662 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.1752, allocations: 0 / 0.662 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.299e-05/0.1752, allocations: 0 / 0.662 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.1752, allocations: 7.938 kB / 0.662 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.363e-05/0.1753, allocations: 7.938 kB / 0.6621 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-06/0.1753, allocations: 0 / 0.6621 GB, free: 10.95 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 0.000107/0.1754, allocations: 117.8 kB / 0.6622 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.289e-05/0.1754, allocations: 7.906 kB / 0.6622 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.052e-05/0.1755, allocations: 7.516 kB / 0.6622 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1755, allocations: 0 / 0.6622 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1755, allocations: 192 / 0.6622 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.1755, allocations: 7.938 kB / 0.6622 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003384/0.1758, allocations: 362.8 kB / 0.6625 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1758, allocations: 0 / 0.6625 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.422e-06/0.1759, allocations: 4 kB / 0.6625 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.1759, allocations: 0 / 0.6625 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.1759, allocations: 7.875 kB / 0.6625 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1759, allocations: 0 / 0.6625 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1759, allocations: 0 / 0.6625 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.01e-05/0.176, allocations: 65.02 kB / 0.6626 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.392e-05/0.176, allocations: 81.09 kB / 0.6627 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.1761, allocations: 7.875 kB / 0.6627 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.46e-05/0.1761, allocations: 4 kB / 0.6627 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.561e-05/0.1761, allocations: 4 kB / 0.6627 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.1761, allocations: 0 / 0.6627 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.405e-05/0.1762, allocations: 99.27 kB / 0.6628 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1762, allocations: 0 / 0.6628 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002227/0.1764, allocations: 15.98 kB / 0.6628 GB, free: 10.06 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.00062/0.1771, allocations: 0.6124 MB / 0.6634 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000112/0.1772, allocations: 27.94 kB / 0.6634 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1772, allocations: 4.031 kB / 0.6634 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.364e-06/0.1772, allocations: 0 / 0.6634 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001477/0.1774, allocations: 18.05 kB / 0.6635 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003652/0.1777, allocations: 146.5 kB / 0.6636 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.178, allocations: 0.6807 MB / 0.6643 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.918e-05/0.178, allocations: 8.375 kB / 0.6643 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.587e-05/0.1781, allocations: 23.42 kB / 0.6643 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.1781, allocations: 64 / 0.6643 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01677/0.1949, allocations: 1.595 MB / 0.6659 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.25/7.444, allocations: 4 kB / 0.6659 GB, free: 6.957 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Cryptographics_Validation_SHA1_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Cryptographics_Validation_SHA1.fmu > IDEAS_IDEAS.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1)