Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Cryptographics.Validation.SHA1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Cryptographics_Validation_SHA1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Cryptographics_Validation_SHA1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8975/0.8975, allocations: 141.8 MB / 149.3 MB, free: 9.191 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001636/0.001637, allocations: 179.9 kB / 182.2 MB, free: 9.449 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.672/1.672, allocations: 221.5 MB / 436.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 88.11 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002041/0.002042, allocations: 287.6 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.89e-05/1.892e-05, allocations: 0 / 0.6766 GB, free: 12.74 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5479/0.548, allocations: 82.77 MB / 0.7574 GB, free: 31.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1554/0.7034, allocations: 107.7 MB / 0.8626 GB, free: 4.109 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/0.7038, allocations: 67.97 kB / 0.8627 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004254/0.7081, allocations: 2.1 MB / 0.8647 GB, free: 1.957 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7081, allocations: 3.938 kB / 0.8647 GB, free: 1.953 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.7081, allocations: 0 / 0.8647 GB, free: 1.953 MB / 0.5261 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.0003028/0.7084, allocations: 335.4 kB / 0.865 GB, free: 1.582 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/0.7085, allocations: 11.98 kB / 0.865 GB, free: 1.57 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.96e-05/0.7085, allocations: 15.91 kB / 0.8651 GB, free: 1.555 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.7087, allocations: 167 kB / 0.8652 GB, free: 1.352 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.7087, allocations: 3.953 kB / 0.8652 GB, free: 1.348 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.7087, allocations: 0 / 0.8652 GB, free: 1.348 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.937e-05/0.7088, allocations: 19.98 kB / 0.8652 GB, free: 1.328 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.708e-05/0.7089, allocations: 45.69 kB / 0.8653 GB, free: 1.277 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.7089, allocations: 0 / 0.8653 GB, free: 1.277 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.709, allocations: 0 / 0.8653 GB, free: 1.277 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.709, allocations: 0 / 0.8653 GB, free: 1.277 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003642/0.7093, allocations: 257.4 kB / 0.8655 GB, free: 0.9883 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.99e-05/0.7094, allocations: 22.52 kB / 0.8656 GB, free: 0.957 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.854e-05/0.7094, allocations: 4.859 kB / 0.8656 GB, free: 0.9492 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 7.534e-06/0.7094, allocations: 0 / 0.8656 GB, free: 0.9492 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.7095, allocations: 38.61 kB / 0.8656 GB, free: 0.9023 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.7095, allocations: 0 / 0.8656 GB, free: 0.9023 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001262/0.7096, allocations: 29.7 kB / 0.8656 GB, free: 0.8672 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.7096, allocations: 55.44 kB / 0.8657 GB, free: 0.8008 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.7098, allocations: 126.2 kB / 0.8658 GB, free: 0.6719 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.7098, allocations: 25.7 kB / 0.8658 GB, free: 0.6406 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.835e-05/0.7099, allocations: 96.03 kB / 0.8659 GB, free: 0.543 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.027e-06/0.7099, allocations: 0 / 0.8659 GB, free: 0.543 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.65e-06/0.7099, allocations: 0 / 0.8659 GB, free: 0.543 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.71, allocations: 330.7 kB / 0.8662 GB, free: 216 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.277e-05/0.7101, allocations: 8 kB / 0.8662 GB, free: 208 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.577e-05/0.7101, allocations: 7.938 kB / 0.8662 GB, free: 200 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.7103, allocations: 31.97 kB / 0.8663 GB, free: 168 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.7103, allocations: 0 / 0.8663 GB, free: 168 kB / 0.5261 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001864/0.7105, allocations: 69.58 kB / 0.8663 GB, free: 92 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.7105, allocations: 5.406 kB / 0.8663 GB, free: 88 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.7105, allocations: 0 / 0.8663 GB, free: 88 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.7105, allocations: 0 / 0.8663 GB, free: 88 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.421e-05/0.7105, allocations: 4 kB / 0.8664 GB, free: 84 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.7105, allocations: 0 / 0.8664 GB, free: 84 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.297e-05/0.7106, allocations: 0 / 0.8664 GB, free: 84 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.7106, allocations: 7.938 kB / 0.8664 GB, free: 76 kB / 0.5261 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 (cmpAll,cmp1,cmp2,cmp3,cmp4,cmp5) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000107/0.7107, allocations: 112.9 kB / 0.8665 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.711e-05/0.7108, allocations: 45.55 kB / 0.8665 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.98e-05/0.7108, allocations: 0 / 0.8665 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.701e-05/0.7108, allocations: 7.969 kB / 0.8665 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.7108, allocations: 0 / 0.8665 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.7108, allocations: 0 / 0.8665 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.7109, allocations: 0 / 0.8665 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002586/0.7111, allocations: 345.3 kB / 0.8668 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.7111, allocations: 0 / 0.8668 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.152e-06/0.7111, allocations: 0 / 0.8668 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.7111, allocations: 3.938 kB / 0.8669 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.7112, allocations: 192 / 0.8669 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.7112, allocations: 4 kB / 0.8669 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.7112, allocations: 0 / 0.8669 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.563e-05/0.7113, allocations: 68.98 kB / 0.8669 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.28e-05/0.7113, allocations: 97.05 kB / 0.867 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.7113, allocations: 0 / 0.867 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.196e-05/0.7114, allocations: 0 / 0.867 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.411e-05/0.7114, allocations: 4 kB / 0.867 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-06/0.7114, allocations: 0 / 0.867 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 7.162e-05/0.7115, allocations: 103.5 kB / 0.8671 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7115, allocations: 0 / 0.8671 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002028/0.7117, allocations: 12 kB / 0.8671 GB, free: 15.19 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000557/0.7122, allocations: 0.6274 MB / 0.8677 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 9.206e-05/0.7124, allocations: 19.98 kB / 0.8678 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.7124, allocations: 4.031 kB / 0.8678 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 7.925e-06/0.7124, allocations: 4 kB / 0.8678 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001101/0.7125, allocations: 4 kB / 0.8678 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003174/0.7128, allocations: 101.5 kB / 0.8679 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/0.7131, allocations: 0.6846 MB / 0.8685 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.563e-05/0.7132, allocations: 16.12 kB / 0.8686 GB, free: 13.65 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.72e-05/0.7132, allocations: 15.42 kB / 0.8686 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of SimCode: time 2.2e-07/0.7132, allocations: 4.062 kB / 0.8686 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02064/0.7338, allocations: 1.05 MB / 0.8696 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002203/0.7342, allocations: 181.5 kB / 0.8698 GB, free: 12.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.812/2.546, allocations: 4 kB / 0.8698 GB, free: 12.4 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Cryptographics.Validation.SHA1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Cryptographics.Validation.SHA1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Cryptographics.Validation.SHA1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Cryptographics.Validation.SHA1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Cryptographics_Validation_SHA1_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Cryptographics_Validation_SHA1.fmu > BuildingSystems_BuildingSystems.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1)