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.001092/0.001092, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001519/0.001519, 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.9367/0.9367, 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.7397/0.7397, allocations: 154.6 MB / 413.7 MB, free: 0.832 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 3.136e-06/3.136e-06, allocations: 4 kB / 0.618 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.03e-05/2.343e-05, allocations: 4.219 kB / 0.618 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Cryptographics.Validation.SHA1): time 0.00135/0.001374, allocations: 0.5367 MB / 0.6185 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003911/0.001765, allocations: 152 kB / 0.6187 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.841e-05/0.001793, allocations: 0 / 0.6187 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.589e-05/0.001809, allocations: 0 / 0.6187 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002368/0.002046, allocations: 11.94 kB / 0.6187 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 5.195e-05/0.002098, allocations: 27.84 kB / 0.6187 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.271e-05/0.002161, allocations: 23.91 kB / 0.6187 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.75e-05/0.002208, allocations: 4 kB / 0.6187 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.867e-05/0.002247, allocations: 15.98 kB / 0.6188 GB, free: 13 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002994/0.002546, allocations: 338.9 kB / 0.6191 GB, free: 12.72 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.002563, allocations: 0 / 0.6191 GB, free: 12.72 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.129e-05/0.002624, allocations: 23.92 kB / 0.6191 GB, free: 12.7 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.052e-05/0.002634, allocations: 0 / 0.6191 GB, free: 12.7 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.309e-05/0.002657, allocations: 15.92 kB / 0.6191 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.002764, allocations: 35.89 kB / 0.6192 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.002766, allocations: 0 / 0.6192 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.72e-07/0.002767, allocations: 3.938 kB / 0.6192 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.002771, allocations: 0 / 0.6192 GB, free: 12.64 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.000261/0.003032, allocations: 270.2 kB / 0.6194 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.003074, allocations: 15.89 kB / 0.6194 GB, free: 12.33 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.852e-05/0.003102, allocations: 46.62 kB / 0.6195 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.716e-05/0.003129, allocations: 0.9375 kB / 0.6195 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.308e-05/0.003202, allocations: 113.7 kB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.003213, allocations: 4.375 kB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.664e-06/0.003221, allocations: 384 / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.003332, allocations: 54.23 kB / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.00334, allocations: 192 / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.003349, allocations: 3.938 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.003353, allocations: 0 / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.797e-05/0.003391, allocations: 23.92 kB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000264/0.003655, allocations: 240 kB / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.819e-05/0.003693, allocations: 26.58 kB / 0.6199 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.24e-05/0.003706, allocations: 4.859 kB / 0.6199 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.092e-06/0.003712, allocations: 0 / 0.6199 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.00373, allocations: 34.62 kB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.003731, allocations: 0 / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001169/0.003848, allocations: 41.59 kB / 0.62 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.003874, allocations: 51.41 kB / 0.62 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.003975, allocations: 145.8 kB / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.248e-06/0.003984, allocations: 25.7 kB / 0.6202 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.931e-05/0.004024, allocations: 104 kB / 0.6203 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.528e-06/0.004028, allocations: 4.125 kB / 0.6203 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.063e-05/0.004059, allocations: 25.7 kB / 0.6203 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.256e-05/0.004131, allocations: 318.8 kB / 0.6206 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.924e-05/0.004151, allocations: 12 kB / 0.6207 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.558e-05/0.004166, allocations: 8.125 kB / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.278e-05/0.004199, allocations: 24.84 kB / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.004202, allocations: 4 kB / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.075e-05/0.004282, allocations: 69.52 kB / 0.6208 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.004294, allocations: 4 kB / 0.6208 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.004298, allocations: 0 / 0.6208 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.004309, allocations: 0 / 0.6208 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.839e-05/0.004328, allocations: 8 kB / 0.6208 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.004332, allocations: 0 / 0.6208 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.555e-05/0.004348, allocations: 0 / 0.6208 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.004354, allocations: 4 kB / 0.6208 GB, free: 10.79 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.374e-05/0.004408, allocations: 121.7 kB / 0.6209 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.451e-05/0.004422, allocations: 11.94 kB / 0.6209 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.883e-05/0.004441, allocations: 11.41 kB / 0.6209 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.004443, allocations: 0 / 0.6209 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.004447, allocations: 0 / 0.6209 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-06/0.004449, allocations: 0 / 0.6209 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001914/0.00464, allocations: 333.7 kB / 0.6212 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.004642, allocations: 3.984 kB / 0.6212 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.366e-06/0.004645, allocations: 0 / 0.6212 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.004646, allocations: 4 kB / 0.6212 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.004652, allocations: 0 / 0.6212 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.004653, allocations: 0 / 0.6212 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.004653, allocations: 0 / 0.6212 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.211e-05/0.004706, allocations: 68.97 kB / 0.6213 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.629e-06/0.00471, allocations: 4 kB / 0.6213 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.004722, allocations: 8.047 kB / 0.6213 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.903e-06/0.004729, allocations: 4.062 kB / 0.6213 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.747e-05/0.004746, allocations: 3.938 kB / 0.6213 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-06/0.004748, allocations: 0 / 0.6213 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.359e-05/0.004792, allocations: 105.5 kB / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.004792, allocations: 0 / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001345/0.004926, allocations: 12 kB / 0.6214 GB, free: 10.03 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.0003846/0.005311, allocations: 0.6205 MB / 0.622 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 7.947e-05/0.00539, allocations: 23.92 kB / 0.6221 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.005392, allocations: 0 / 0.6221 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.659e-06/0.005396, allocations: 7.938 kB / 0.6221 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000107/0.005503, allocations: 7.938 kB / 0.6221 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002615/0.005765, allocations: 150.5 kB / 0.6222 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.629e-05/0.005801, allocations: 67.28 kB / 0.6223 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.034e-05/0.005822, allocations: 8.125 kB / 0.6223 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.044e-05/0.005852, allocations: 24.55 kB / 0.6223 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of SimCode: time 5.31e-07/0.005853, allocations: 0 / 0.6223 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01571/0.02156, allocations: 2.274 MB / 0.6245 GB, free: 6.895 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.008/7.03, allocations: 10.22 kB / 0.6245 GB, free: 6.891 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Cryptographics_Validation_SHA1_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.768986067734659] Failed to read output from testmodel.py, exit status != 0: 7.112363053485751 7.120519556 7.116007604 Calling exit ...