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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009122/0.0009122, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9437/0.9437, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7242/0.7242, allocations: 154.5 MB / 413.7 MB, free: 0.8281 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 0.618 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.168e-05/2.315e-05, allocations: 5.656 kB / 0.618 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Cryptographics.Validation.SHA1): time 0.001277/0.0013, allocations: 0.5439 MB / 0.6185 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000335/0.001635, allocations: 152 kB / 0.6187 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.668e-05/0.001662, allocations: 4 kB / 0.6187 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.599e-05/0.001678, allocations: 3.938 kB / 0.6187 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001977/0.001876, allocations: 3.938 kB / 0.6187 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 5.054e-05/0.001926, allocations: 23.97 kB / 0.6187 GB, free: 13.06 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.43e-05/0.001981, allocations: 27.86 kB / 0.6187 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.158e-05/0.002022, allocations: 4 kB / 0.6187 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.46e-05/0.002057, allocations: 11.98 kB / 0.6188 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000334/0.002391, allocations: 333.5 kB / 0.6191 GB, free: 12.74 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.002408, allocations: 4 kB / 0.6191 GB, free: 12.73 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.735e-05/0.002465, allocations: 15.92 kB / 0.6191 GB, free: 12.72 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.457e-05/0.002479, allocations: 15.92 kB / 0.6191 GB, free: 12.7 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.821e-05/0.002498, allocations: 7.938 kB / 0.6191 GB, free: 12.7 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.725e-05/0.002595, allocations: 35.89 kB / 0.6192 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.002597, allocations: 0 / 0.6192 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.242e-06/0.002598, allocations: 0 / 0.6192 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.002602, allocations: 0 / 0.6192 GB, free: 12.66 MB / 0.5886 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.000408/0.00301, allocations: 276.1 kB / 0.6194 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.003058, allocations: 15.83 kB / 0.6194 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.514e-05/0.003093, allocations: 34.75 kB / 0.6195 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.546e-05/0.003118, allocations: 8.875 kB / 0.6195 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.121e-05/0.0032, allocations: 117.7 kB / 0.6196 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.003209, allocations: 384 / 0.6196 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.003217, allocations: 4.375 kB / 0.6196 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.003321, allocations: 54.23 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.003329, allocations: 192 / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.003339, allocations: 7.938 kB / 0.6197 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.003343, allocations: 0 / 0.6197 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.614e-05/0.003379, allocations: 19.92 kB / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002617/0.003641, allocations: 244 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.42e-05/0.003675, allocations: 22.58 kB / 0.6199 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.369e-05/0.003689, allocations: 4.859 kB / 0.6199 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.071e-06/0.003695, allocations: 0 / 0.6199 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.663e-05/0.003711, allocations: 30.56 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.003712, allocations: 0 / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001158/0.003828, allocations: 49.64 kB / 0.62 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.003857, allocations: 51.41 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.229e-05/0.003949, allocations: 148.2 kB / 0.6202 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.498e-06/0.003959, allocations: 25.7 kB / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.142e-05/0.00401, allocations: 96.05 kB / 0.6203 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.549e-06/0.004015, allocations: 0 / 0.6203 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-05/0.004045, allocations: 25.7 kB / 0.6203 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.333e-05/0.004118, allocations: 326.8 kB / 0.6206 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.758e-05/0.004136, allocations: 4 kB / 0.6207 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.627e-05/0.004152, allocations: 12.12 kB / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.119e-05/0.004183, allocations: 32.91 kB / 0.6207 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.004185, allocations: 0 / 0.6207 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 7.119e-05/0.004256, allocations: 61.64 kB / 0.6208 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.004268, allocations: 8 kB / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.004272, allocations: 0 / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.004283, allocations: 0 / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.596e-05/0.004299, allocations: 0 / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.004304, allocations: 4 kB / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.501e-05/0.004319, allocations: 3.938 kB / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-06/0.004328, allocations: 7.984 kB / 0.6208 GB, free: 10.81 MB / 0.5886 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 5.508e-05/0.004383, allocations: 125.7 kB / 0.6209 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.455e-05/0.004397, allocations: 7.953 kB / 0.6209 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.748e-05/0.004415, allocations: 3.469 kB / 0.6209 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.004418, allocations: 7.922 kB / 0.6209 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.004423, allocations: 4 kB / 0.6209 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.004426, allocations: 0 / 0.6209 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/0.00461, allocations: 333.8 kB / 0.6212 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.004611, allocations: 0 / 0.6212 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.854e-06/0.004613, allocations: 0 / 0.6212 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.31e-07/0.004614, allocations: 0 / 0.6212 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-06/0.004619, allocations: 0 / 0.6212 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.00462, allocations: 4.031 kB / 0.6212 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.004622, allocations: 4 kB / 0.6212 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.185e-05/0.004663, allocations: 64.97 kB / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.579e-06/0.004668, allocations: 3.984 kB / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.03e-05/0.004678, allocations: 4.062 kB / 0.6213 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.462e-06/0.004685, allocations: 0 / 0.6213 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.944e-05/0.004704, allocations: 7.938 kB / 0.6213 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-06/0.004705, allocations: 0 / 0.6213 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.08e-05/0.004746, allocations: 105.9 kB / 0.6214 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.004746, allocations: 0 / 0.6214 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001433/0.004889, allocations: 12.03 kB / 0.6214 GB, free: 10.05 MB / 0.5886 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.0003325/0.005222, allocations: 0.6286 MB / 0.622 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 6.799e-05/0.00529, allocations: 16 kB / 0.6221 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.005291, allocations: 0 / 0.6221 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.928e-06/0.005295, allocations: 0 / 0.6221 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001058/0.005401, allocations: 16.03 kB / 0.6221 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000248/0.005649, allocations: 149.4 kB / 0.6222 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.782e-05/0.005687, allocations: 71.28 kB / 0.6223 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.043e-05/0.005707, allocations: 16 kB / 0.6223 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.109e-05/0.005738, allocations: 16.48 kB / 0.6223 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of SimCode: time 3.61e-07/0.005739, allocations: 0 / 0.6223 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01766/0.0234, allocations: 2.279 MB / 0.6245 GB, free: 6.906 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.778/6.802, allocations: 3.438 kB / 0.6245 GB, free: 6.906 MB / 0.5886 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Utilities_Cryptographics_Validation_SHA1.fmu > IDEAS_dev_IDEAS.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.680292914621532] Failed to read output from testmodel.py, exit status != 0: 6.884073321707547 6.892678882 6.888364922 Calling exit ...