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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001495/0.001495, 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.001509/0.001509, allocations: 195.7 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.37/1.37, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002448/0.002449, allocations: 283 kB / 290.7 MB, free: 2.02 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.021/1.021, allocations: 178.6 MB / 0.5073 GB, free: 4.594 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002636/0.002636, allocations: 99.05 kB / 0.6065 GB, free: 24.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1517, allocations: 89.15 MB / 0.6936 GB, free: 4.238 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Cryptographics.Validation.SHA1): time 0.00173/0.1535, allocations: 0.5165 MB / 0.6941 GB, free: 3.73 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003917/0.1539, allocations: 152.6 kB / 0.6942 GB, free: 3.578 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.45e-05/0.1539, allocations: 4.531 kB / 0.6943 GB, free: 3.574 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.409e-05/0.154, allocations: 5.75 kB / 0.6943 GB, free: 3.57 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001657/0.1541, allocations: 3.938 kB / 0.6943 GB, free: 3.566 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.759e-05/0.1542, allocations: 27.91 kB / 0.6943 GB, free: 3.539 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.241e-05/0.1543, allocations: 27.86 kB / 0.6943 GB, free: 3.512 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.112e-05/0.1543, allocations: 4 kB / 0.6943 GB, free: 3.508 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.477e-05/0.1543, allocations: 13.58 kB / 0.6943 GB, free: 3.496 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003426/0.1547, allocations: 327 kB / 0.6946 GB, free: 3.215 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.1547, allocations: 4 kB / 0.6946 GB, free: 3.211 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.13e-05/0.1548, allocations: 14.69 kB / 0.6947 GB, free: 3.199 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.603e-05/0.1548, allocations: 11.91 kB / 0.6947 GB, free: 3.188 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.053e-05/0.1548, allocations: 15.88 kB / 0.6947 GB, free: 3.172 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.716e-05/0.1549, allocations: 35.89 kB / 0.6947 GB, free: 3.137 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.1549, allocations: 0 / 0.6947 GB, free: 3.137 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1549, allocations: 0 / 0.6947 GB, free: 3.137 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1549, allocations: 0 / 0.6947 GB, free: 3.137 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.0003296/0.1553, allocations: 352.4 kB / 0.6951 GB, free: 2.746 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.1553, allocations: 9.75 kB / 0.6951 GB, free: 2.738 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.709e-05/0.1554, allocations: 38.73 kB / 0.6951 GB, free: 2.691 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.792e-05/0.1554, allocations: 12.84 kB / 0.6951 GB, free: 2.68 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.1555, allocations: 172.3 kB / 0.6953 GB, free: 2.473 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.1555, allocations: 384 / 0.6953 GB, free: 2.473 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.1556, allocations: 9.016 kB / 0.6953 GB, free: 2.465 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.1557, allocations: 57.61 kB / 0.6953 GB, free: 2.402 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.1557, allocations: 0 / 0.6953 GB, free: 2.402 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.303e-06/0.1557, allocations: 0 / 0.6953 GB, free: 2.402 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.1557, allocations: 4 kB / 0.6953 GB, free: 2.398 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.523e-05/0.1558, allocations: 15.94 kB / 0.6954 GB, free: 2.383 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003374/0.1561, allocations: 276.8 kB / 0.6956 GB, free: 2.062 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.296e-05/0.1562, allocations: 18.52 kB / 0.6956 GB, free: 2.035 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.756e-05/0.1562, allocations: 8.859 kB / 0.6957 GB, free: 2.023 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.194e-06/0.1562, allocations: 8.062 kB / 0.6957 GB, free: 2.016 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.1562, allocations: 30.56 kB / 0.6957 GB, free: 1.977 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.1562, allocations: 0 / 0.6957 GB, free: 1.977 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001323/0.1564, allocations: 41.59 kB / 0.6957 GB, free: 1.93 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.1564, allocations: 51.41 kB / 0.6958 GB, free: 1.867 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.1566, allocations: 139.5 kB / 0.6959 GB, free: 1.723 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.1566, allocations: 29.64 kB / 0.6959 GB, free: 1.688 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.925e-05/0.1567, allocations: 106.1 kB / 0.696 GB, free: 1.582 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.065e-06/0.1567, allocations: 7.906 kB / 0.696 GB, free: 1.574 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.517e-05/0.1567, allocations: 25.7 kB / 0.6961 GB, free: 1.543 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.1569, allocations: 318.8 kB / 0.6964 GB, free: 1.223 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.639e-05/0.1569, allocations: 12 kB / 0.6964 GB, free: 1.211 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.594e-05/0.1569, allocations: 11.98 kB / 0.6964 GB, free: 1.199 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.473e-05/0.157, allocations: 16.86 kB / 0.6964 GB, free: 1.18 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.157, allocations: 0 / 0.6964 GB, free: 1.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001061/0.1571, allocations: 65.69 kB / 0.6965 GB, free: 1.109 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.1571, allocations: 4 kB / 0.6965 GB, free: 1.105 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1571, allocations: 0 / 0.6965 GB, free: 1.105 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.1571, allocations: 3.938 kB / 0.6965 GB, free: 1.102 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.877e-05/0.1572, allocations: 4 kB / 0.6965 GB, free: 1.098 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.1572, allocations: 0 / 0.6965 GB, free: 1.098 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.921e-05/0.1572, allocations: 11.83 kB / 0.6965 GB, free: 1.086 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.1572, allocations: 4.188 kB / 0.6965 GB, free: 1.082 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 7.271e-05/0.1573, allocations: 109.8 kB / 0.6966 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-05/0.1573, allocations: 4 kB / 0.6966 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.791e-05/0.1573, allocations: 11.53 kB / 0.6966 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.61e-07/0.1573, allocations: 0 / 0.6966 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1574, allocations: 0 / 0.6966 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.1574, allocations: 7.938 kB / 0.6966 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002826/0.1577, allocations: 358.6 kB / 0.697 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.1577, allocations: 4 kB / 0.697 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.626e-06/0.1577, allocations: 3.938 kB / 0.697 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.1577, allocations: 0 / 0.697 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.1577, allocations: 7.969 kB / 0.697 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1577, allocations: 0 / 0.697 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.1577, allocations: 0 / 0.697 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.65e-05/0.1578, allocations: 61.12 kB / 0.697 GB, free: 448 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.203e-05/0.1578, allocations: 81.02 kB / 0.6971 GB, free: 348 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.1578, allocations: 7.938 kB / 0.6971 GB, free: 340 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.245e-05/0.1579, allocations: 0 / 0.6971 GB, free: 340 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.028e-05/0.1579, allocations: 4.031 kB / 0.6971 GB, free: 336 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-06/0.1579, allocations: 0 / 0.6971 GB, free: 336 kB / 494.1 MB Notification: Performance of sorting global known variables: time 7.238e-05/0.158, allocations: 109.5 kB / 0.6972 GB, free: 228 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.158, allocations: 3.938 kB / 0.6972 GB, free: 224 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.000196/0.1582, allocations: 8 kB / 0.6973 GB, free: 216 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.0005039/0.1587, allocations: 0.6192 MB / 0.6979 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.335e-05/0.1588, allocations: 27.92 kB / 0.6979 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.1588, allocations: 0 / 0.6979 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.907e-06/0.1588, allocations: 7.938 kB / 0.6979 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001282/0.1589, allocations: 7.656 kB / 0.6979 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000307/0.1593, allocations: 154.7 kB / 0.698 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.1595, allocations: 0.6846 MB / 0.6987 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.661e-05/0.1596, allocations: 8.125 kB / 0.6987 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.012e-05/0.1596, allocations: 15.44 kB / 0.6987 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.1596, allocations: 0 / 0.6987 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02176/0.1814, allocations: 1.578 MB / 0.7003 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.441/7.623, allocations: 8 kB / 0.7003 GB, free: 13.11 MB / 0.4981 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Utilities_Cryptographics_Validation_SHA1.fmu > BuildingSystems_BuildingSystems.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1)