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.001303/0.001303, 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.001416/0.001416, allocations: 194.3 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.242/1.242, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9582/0.9582, allocations: 135.1 MB / 425.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002251/0.002251, allocations: 63.84 kB / 0.5054 GB, free: 5.258 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1968/0.1991, allocations: 80.93 MB / 0.5845 GB, free: 4.492 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Cryptographics.Validation.SHA1): time 0.002738/0.2019, allocations: 0.5173 MB / 0.585 GB, free: 3.973 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006341/0.2025, allocations: 148 kB / 0.5851 GB, free: 3.824 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.223e-05/0.2026, allocations: 3.938 kB / 0.5851 GB, free: 3.82 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.79e-05/0.2027, allocations: 0 / 0.5851 GB, free: 3.82 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003332/0.2031, allocations: 15.86 kB / 0.5851 GB, free: 3.805 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001647/0.2032, allocations: 31.92 kB / 0.5852 GB, free: 3.773 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000103/0.2033, allocations: 23.97 kB / 0.5852 GB, free: 3.75 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.877e-05/0.2034, allocations: 4 kB / 0.5852 GB, free: 3.746 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.243e-05/0.2035, allocations: 11.92 kB / 0.5852 GB, free: 3.734 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005443/0.204, allocations: 313.9 kB / 0.5855 GB, free: 3.469 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.2041, allocations: 0 / 0.5855 GB, free: 3.469 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.2042, allocations: 23.97 kB / 0.5855 GB, free: 3.445 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.642e-05/0.2042, allocations: 0 / 0.5855 GB, free: 3.445 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.628e-05/0.2043, allocations: 15.88 kB / 0.5855 GB, free: 3.43 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.2044, allocations: 43.77 kB / 0.5856 GB, free: 3.387 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.766e-06/0.2045, allocations: 4 kB / 0.5856 GB, free: 3.383 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2045, allocations: 0 / 0.5856 GB, free: 3.383 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.2045, allocations: 0 / 0.5856 GB, free: 3.383 MB / 494.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.0005828/0.2051, allocations: 351.6 kB / 0.5859 GB, free: 2.992 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.432e-05/0.2051, allocations: 8.031 kB / 0.5859 GB, free: 2.984 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.5e-05/0.2052, allocations: 34.75 kB / 0.586 GB, free: 2.941 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.694e-05/0.2052, allocations: 8.844 kB / 0.586 GB, free: 2.934 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002058/0.2055, allocations: 172.3 kB / 0.5861 GB, free: 2.727 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.2055, allocations: 384 / 0.5861 GB, free: 2.727 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.2055, allocations: 8.312 kB / 0.5861 GB, free: 2.719 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/0.2057, allocations: 61.61 kB / 0.5862 GB, free: 2.652 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.2057, allocations: 0 / 0.5862 GB, free: 2.652 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.2058, allocations: 0 / 0.5862 GB, free: 2.652 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.2058, allocations: 3.938 kB / 0.5862 GB, free: 2.648 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.776e-05/0.2058, allocations: 19.98 kB / 0.5862 GB, free: 2.629 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005312/0.2064, allocations: 268.8 kB / 0.5865 GB, free: 2.316 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.177e-05/0.2064, allocations: 26.56 kB / 0.5865 GB, free: 2.281 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.196e-05/0.2065, allocations: 8.859 kB / 0.5865 GB, free: 2.27 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.2065, allocations: 0 / 0.5865 GB, free: 2.27 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.2065, allocations: 34.62 kB / 0.5865 GB, free: 2.227 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.283e-06/0.2065, allocations: 3.938 kB / 0.5865 GB, free: 2.223 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001857/0.2067, allocations: 33.61 kB / 0.5866 GB, free: 2.184 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/0.2068, allocations: 55.41 kB / 0.5866 GB, free: 2.117 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.2069, allocations: 131.9 kB / 0.5868 GB, free: 1.98 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.207, allocations: 29.83 kB / 0.5868 GB, free: 1.945 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.09e-05/0.2071, allocations: 104 kB / 0.5869 GB, free: 1.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.819e-06/0.2071, allocations: 3.906 kB / 0.5869 GB, free: 1.836 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.993e-05/0.2071, allocations: 29.7 kB / 0.5869 GB, free: 1.801 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.2073, allocations: 318.8 kB / 0.5872 GB, free: 1.48 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.815e-05/0.2073, allocations: 11.92 kB / 0.5872 GB, free: 1.469 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.694e-05/0.2074, allocations: 12 kB / 0.5872 GB, free: 1.457 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.341e-05/0.2074, allocations: 20.8 kB / 0.5873 GB, free: 1.434 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2074, allocations: 4 kB / 0.5873 GB, free: 1.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001263/0.2076, allocations: 57.69 kB / 0.5873 GB, free: 1.367 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.2076, allocations: 11.98 kB / 0.5873 GB, free: 1.355 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.2076, allocations: 0 / 0.5873 GB, free: 1.355 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.2076, allocations: 0 / 0.5873 GB, free: 1.355 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.474e-05/0.2076, allocations: 0 / 0.5873 GB, free: 1.355 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.2077, allocations: 4 kB / 0.5873 GB, free: 1.352 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.387e-05/0.2077, allocations: 7.844 kB / 0.5873 GB, free: 1.344 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.2077, allocations: 0 / 0.5873 GB, free: 1.344 MB / 494.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 8.659e-05/0.2078, allocations: 121.8 kB / 0.5875 GB, free: 1.215 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.386e-05/0.2078, allocations: 7.906 kB / 0.5875 GB, free: 1.207 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.749e-05/0.2079, allocations: 7.516 kB / 0.5875 GB, free: 1.195 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.2079, allocations: 192 / 0.5875 GB, free: 1.195 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.2079, allocations: 4 kB / 0.5875 GB, free: 1.191 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.2079, allocations: 3.938 kB / 0.5875 GB, free: 1.188 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002959/0.2082, allocations: 354.8 kB / 0.5878 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2082, allocations: 0 / 0.5878 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.779e-06/0.2082, allocations: 4 kB / 0.5878 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.2082, allocations: 4.031 kB / 0.5878 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.2083, allocations: 7.875 kB / 0.5878 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2083, allocations: 0 / 0.5878 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2083, allocations: 0 / 0.5878 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.789e-05/0.2083, allocations: 61.08 kB / 0.5879 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.791e-05/0.2084, allocations: 85 kB / 0.588 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.2084, allocations: 3.938 kB / 0.588 GB, free: 0.582 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.37e-05/0.2084, allocations: 8.031 kB / 0.588 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.493e-05/0.2085, allocations: 3.984 kB / 0.588 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-06/0.2085, allocations: 0 / 0.588 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.143e-05/0.2085, allocations: 105.4 kB / 0.5881 GB, free: 480 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2086, allocations: 0 / 0.5881 GB, free: 480 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002036/0.2088, allocations: 16 kB / 0.5881 GB, free: 464 kB / 494.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.0006096/0.2094, allocations: 0.6196 MB / 0.5887 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001284/0.2095, allocations: 27.92 kB / 0.5887 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.2095, allocations: 0 / 0.5887 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.326e-06/0.2095, allocations: 0 / 0.5887 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/0.2097, allocations: 4.094 kB / 0.5887 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004269/0.2101, allocations: 160.1 kB / 0.5889 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.2105, allocations: 0.6845 MB / 0.5896 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.76e-05/0.2105, allocations: 12.12 kB / 0.5896 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.691e-05/0.2106, allocations: 19.42 kB / 0.5896 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of SimCode: time 8.42e-07/0.2106, allocations: 0 / 0.5896 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02725/0.2378, allocations: 1.553 MB / 0.5911 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.391/7.629, allocations: 4.594 kB / 0.5911 GB, free: 13.37 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Cryptographics_Validation_SHA1_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Cryptographics_Validation_SHA1.fmu > IDEAS_dev_IDEAS.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1)