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: translateModel(BuildingSystems.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Cryptographics.Validation.SHA1") translateModel(BuildingSystems.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Cryptographics.Validation.SHA1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0078/0.0078, allocations: 102.7 kB / 15.73 MB, free: 5.992 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.001776/0.001776, allocations: 195.5 kB / 16.68 MB, free: 5.914 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002221/0.002221, allocations: 294 kB / 290.8 MB, free: 1.762 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9529/0.9529, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 96.28 kB / 0.6814 GB, free: 15.51 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1768, allocations: 86.98 MB / 0.7664 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Cryptographics.Validation.SHA1): time 0.001635/0.1785, allocations: 0.5361 MB / 0.7669 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004121/0.1789, allocations: 144.1 kB / 0.767 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.978e-05/0.179, allocations: 0 / 0.767 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.785e-05/0.179, allocations: 3.938 kB / 0.767 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001958/0.1792, allocations: 11.92 kB / 0.767 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 6.725e-05/0.1793, allocations: 31.91 kB / 0.7671 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.016e-05/0.1793, allocations: 27.86 kB / 0.7671 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.758e-05/0.1794, allocations: 0 / 0.7671 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.838e-05/0.1794, allocations: 19.92 kB / 0.7671 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003648/0.1798, allocations: 310.8 kB / 0.7674 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.1798, allocations: 0 / 0.7674 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.297e-05/0.1799, allocations: 16 kB / 0.7674 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.796e-05/0.1799, allocations: 19.91 kB / 0.7674 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.24e-05/0.1799, allocations: 7.938 kB / 0.7674 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001034/0.18, allocations: 39.83 kB / 0.7675 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1801, allocations: 0 / 0.7675 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1801, allocations: 0 / 0.7675 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.1801, allocations: 0 / 0.7675 GB, free: 7.332 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.0003254/0.1804, allocations: 347.3 kB / 0.7678 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.1805, allocations: 12.03 kB / 0.7678 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.421e-05/0.1805, allocations: 4.844 kB / 0.7678 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.1806, allocations: 180.2 kB / 0.768 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.1806, allocations: 384 / 0.768 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.1807, allocations: 8.312 kB / 0.768 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.1808, allocations: 53.8 kB / 0.7681 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.1808, allocations: 0 / 0.7681 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.1808, allocations: 4 kB / 0.7681 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1808, allocations: 0 / 0.7681 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.532e-05/0.1809, allocations: 12 kB / 0.7681 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003468/0.1812, allocations: 276.9 kB / 0.7683 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.807e-05/0.1813, allocations: 22.52 kB / 0.7684 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.72e-05/0.1813, allocations: 8.922 kB / 0.7684 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.094e-06/0.1813, allocations: 0 / 0.7684 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.1813, allocations: 30.56 kB / 0.7684 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.1813, allocations: 3.938 kB / 0.7684 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001293/0.1815, allocations: 37.61 kB / 0.7684 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.1815, allocations: 59.47 kB / 0.7685 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.1816, allocations: 137.8 kB / 0.7686 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.1817, allocations: 25.7 kB / 0.7687 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.867e-05/0.1817, allocations: 107.9 kB / 0.7688 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.252e-06/0.1817, allocations: 3.906 kB / 0.7688 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.942e-05/0.1818, allocations: 25.7 kB / 0.7688 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1819, allocations: 318.8 kB / 0.7691 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.828e-05/0.1819, allocations: 12 kB / 0.7691 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.067e-05/0.1819, allocations: 12.12 kB / 0.7691 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.603e-05/0.182, allocations: 24.84 kB / 0.7691 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.182, allocations: 0 / 0.7691 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000102/0.1821, allocations: 65.59 kB / 0.7692 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.1821, allocations: 4 kB / 0.7692 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.1821, allocations: 0 / 0.7692 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.1821, allocations: 0 / 0.7692 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.296e-05/0.1822, allocations: 7.938 kB / 0.7692 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1822, allocations: 0 / 0.7692 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.052e-05/0.1822, allocations: 0 / 0.7692 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.1822, allocations: 11.94 kB / 0.7692 GB, free: 5.328 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.329e-05/0.1823, allocations: 113.8 kB / 0.7693 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.751e-05/0.1823, allocations: 7.906 kB / 0.7693 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.001e-05/0.1824, allocations: 7.531 kB / 0.7693 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1824, allocations: 4 kB / 0.7694 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.1824, allocations: 0 / 0.7694 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.1824, allocations: 0 / 0.7694 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002718/0.1826, allocations: 366.6 kB / 0.7697 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1827, allocations: 0 / 0.7697 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.667e-06/0.1827, allocations: 0 / 0.7697 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.1827, allocations: 0 / 0.7697 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.059e-06/0.1827, allocations: 0 / 0.7697 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1827, allocations: 3.938 kB / 0.7697 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1827, allocations: 0 / 0.7697 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.98e-05/0.1828, allocations: 61.12 kB / 0.7698 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.539e-05/0.1828, allocations: 89.08 kB / 0.7698 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.1828, allocations: 4.062 kB / 0.7699 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.578e-05/0.1828, allocations: 3.938 kB / 0.7699 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.761e-05/0.1829, allocations: 3.938 kB / 0.7699 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-06/0.1829, allocations: 0 / 0.7699 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.647e-05/0.1829, allocations: 109.1 kB / 0.77 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1829, allocations: 0 / 0.77 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001978/0.1831, allocations: 19.94 kB / 0.77 GB, free: 4.445 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.0002348/0.1834, allocations: 131.4 kB / 0.7701 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.793e-05/0.1835, allocations: 19.98 kB / 0.7701 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1835, allocations: 0 / 0.7701 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.348e-06/0.1835, allocations: 4 kB / 0.7701 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001312/0.1836, allocations: 2.234 kB / 0.7701 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002059/0.1839, allocations: 123.9 kB / 0.7703 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.1841, allocations: 0.6807 MB / 0.7709 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.974e-05/0.1841, allocations: 12.11 kB / 0.7709 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.941e-05/0.1842, allocations: 11.44 kB / 0.7709 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.1842, allocations: 3.938 kB / 0.7709 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of Templates: time 0.002443/0.1866, allocations: 0.5458 MB / 0.7715 GB, free: 2.871 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Cryptographics.Validation.SHA1.makefile (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 & ./BuildingSystems_BuildingSystems.Utilities.Cryptographics.Validation.SHA1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1)