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.007617/0.007617, allocations: 100.9 kB / 15.73 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002129/0.002129, allocations: 189.4 kB / 16.67 MB, free: 5.934 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002468/0.002468, allocations: 279 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.032/1.032, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002679/0.002679, allocations: 99.95 kB / 0.6809 GB, free: 8 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1647, allocations: 86.97 MB / 0.7659 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Cryptographics.Validation.SHA1): time 0.001623/0.1663, allocations: 0.5379 MB / 0.7664 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004049/0.1667, allocations: 148.1 kB / 0.7665 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.751e-05/0.1668, allocations: 0 / 0.7665 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.788e-05/0.1668, allocations: 3.938 kB / 0.7665 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000174/0.167, allocations: 7.922 kB / 0.7666 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 6.42e-05/0.1671, allocations: 27.86 kB / 0.7666 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.041e-05/0.1672, allocations: 31.84 kB / 0.7666 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.811e-05/0.1672, allocations: 7.984 kB / 0.7666 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.152e-05/0.1672, allocations: 7.938 kB / 0.7666 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003465/0.1676, allocations: 316.1 kB / 0.7669 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.1676, allocations: 4 kB / 0.7669 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.828e-05/0.1677, allocations: 19.98 kB / 0.7669 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.38e-05/0.1677, allocations: 3.938 kB / 0.767 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.906e-05/0.1677, allocations: 15.92 kB / 0.767 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.996e-05/0.1678, allocations: 36.06 kB / 0.767 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1678, allocations: 3.984 kB / 0.767 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1679, allocations: 4 kB / 0.767 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.92e-06/0.1679, allocations: 0 / 0.767 GB, free: 7.836 MB / 0.5606 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.0003636/0.1682, allocations: 351.2 kB / 0.7673 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.1683, allocations: 8.031 kB / 0.7674 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.236e-05/0.1683, allocations: 38.75 kB / 0.7674 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.036e-05/0.1684, allocations: 8.875 kB / 0.7674 GB, free: 7.383 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.1685, allocations: 184.2 kB / 0.7676 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.1685, allocations: 384 / 0.7676 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.1685, allocations: 4.375 kB / 0.7676 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.1687, allocations: 53.61 kB / 0.7676 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.1687, allocations: 0 / 0.7676 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.1687, allocations: 7.938 kB / 0.7676 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.1687, allocations: 4 kB / 0.7676 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.694e-05/0.1688, allocations: 12 kB / 0.7677 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003536/0.1691, allocations: 272.9 kB / 0.7679 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.879e-05/0.1692, allocations: 22.52 kB / 0.7679 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.814e-05/0.1692, allocations: 8.922 kB / 0.7679 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.949e-06/0.1692, allocations: 0 / 0.7679 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.1692, allocations: 38.5 kB / 0.768 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.1692, allocations: 0 / 0.768 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001386/0.1694, allocations: 37.66 kB / 0.768 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.1694, allocations: 55.34 kB / 0.7681 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.1696, allocations: 143.7 kB / 0.7682 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.1696, allocations: 25.7 kB / 0.7682 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.479e-05/0.1696, allocations: 96.09 kB / 0.7683 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.278e-06/0.1697, allocations: 128 / 0.7683 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.391e-05/0.1697, allocations: 29.7 kB / 0.7683 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1698, allocations: 318.8 kB / 0.7687 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.193e-05/0.1699, allocations: 16 kB / 0.7687 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.249e-05/0.1699, allocations: 8 kB / 0.7687 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.969e-05/0.17, allocations: 20.84 kB / 0.7687 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.17, allocations: 0 / 0.7687 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001172/0.1701, allocations: 69.58 kB / 0.7688 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.1701, allocations: 4 kB / 0.7688 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.1701, allocations: 4 kB / 0.7688 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.1701, allocations: 0 / 0.7688 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.132e-05/0.1702, allocations: 4 kB / 0.7688 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.1702, allocations: 0 / 0.7688 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.947e-05/0.1702, allocations: 7.875 kB / 0.7688 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.1702, allocations: 7.984 kB / 0.7688 GB, free: 5.781 MB / 0.5606 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 7.946e-05/0.1703, allocations: 109.8 kB / 0.7689 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/0.1703, allocations: 7.953 kB / 0.7689 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.049e-05/0.1704, allocations: 7.531 kB / 0.7689 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.1704, allocations: 4 kB / 0.7689 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.1704, allocations: 4 kB / 0.7689 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.1704, allocations: 3.938 kB / 0.7689 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002956/0.1707, allocations: 358.7 kB / 0.7693 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1707, allocations: 0 / 0.7693 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.797e-06/0.1707, allocations: 0 / 0.7693 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1707, allocations: 0 / 0.7693 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.1707, allocations: 4.125 kB / 0.7693 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1707, allocations: 4 kB / 0.7693 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1708, allocations: 4.031 kB / 0.7693 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.627e-05/0.1708, allocations: 69.02 kB / 0.7693 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.656e-05/0.1709, allocations: 89 kB / 0.7694 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.1709, allocations: 3.938 kB / 0.7694 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.265e-05/0.1709, allocations: 0 / 0.7694 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.99e-05/0.171, allocations: 3.938 kB / 0.7694 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.171, allocations: 0 / 0.7694 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.382e-05/0.171, allocations: 113.4 kB / 0.7695 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1711, allocations: 0 / 0.7695 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002035/0.1713, allocations: 11.94 kB / 0.7696 GB, free: 4.895 MB / 0.5606 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.0005273/0.1718, allocations: 0.6248 MB / 0.7702 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001006/0.1719, allocations: 27.86 kB / 0.7702 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1719, allocations: 0 / 0.7702 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.193e-06/0.1719, allocations: 4 kB / 0.7702 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.1721, allocations: 6.172 kB / 0.7702 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003276/0.1724, allocations: 150.5 kB / 0.7703 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.1727, allocations: 0.6846 MB / 0.771 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.952e-05/0.1727, allocations: 12.11 kB / 0.771 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.068e-05/0.1728, allocations: 11.44 kB / 0.771 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of SimCode: time 2.8e-07/0.1728, allocations: 4 kB / 0.771 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0203/0.1931, allocations: 1.611 MB / 0.7726 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.927/8.121, allocations: 6.406 kB / 0.7726 GB, free: 1.777 MB / 0.5606 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)