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.0008491/0.0008491, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0007871/0.0007871, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.27/1.27, allocations: 223.3 MB / 240 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001643/0.001643, allocations: 274.6 kB / 291.4 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8842/0.8842, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004901/0.0004901, allocations: 16.33 kB / 0.598 GB, free: 28.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.1807, allocations: 88.55 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Cryptographics.Validation.SHA1): time 0.0005162/0.1812, allocations: 251 kB / 0.6847 GB, free: 15.24 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003212/0.1816, allocations: 150.2 kB / 0.6849 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.927e-05/0.1816, allocations: 0 / 0.6849 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.126e-05/0.1816, allocations: 3.938 kB / 0.6849 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001294/0.1818, allocations: 4 kB / 0.6849 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.932e-05/0.1818, allocations: 23.92 kB / 0.6849 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.858e-05/0.1819, allocations: 24.41 kB / 0.6849 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.679e-05/0.1819, allocations: 4 kB / 0.6849 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.907e-05/0.1819, allocations: 8.781 kB / 0.6849 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000327/0.1823, allocations: 323.8 kB / 0.6852 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.1823, allocations: 0 / 0.6852 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.766e-05/0.1823, allocations: 21.47 kB / 0.6852 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.976e-06/0.1824, allocations: 3.984 kB / 0.6853 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.11e-05/0.1824, allocations: 33.64 kB / 0.6853 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.976e-05/0.1825, allocations: 15.97 kB / 0.6853 GB, free: 14.67 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1825, allocations: 2.969 kB / 0.6853 GB, free: 14.67 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1825, allocations: 4 kB / 0.6853 GB, free: 14.66 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.387e-06/0.1825, allocations: 0 / 0.6853 GB, free: 14.66 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.0002764/0.1828, allocations: 339.5 kB / 0.6856 GB, free: 14.29 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.93e-05/0.1828, allocations: 12.02 kB / 0.6856 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.108e-05/0.1828, allocations: 7.906 kB / 0.6856 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.1829, allocations: 179.3 kB / 0.6858 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.183, allocations: 0 / 0.6858 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.384e-06/0.183, allocations: 0.5 kB / 0.6858 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.1831, allocations: 54.17 kB / 0.6859 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.1831, allocations: 5.25 kB / 0.6859 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-06/0.1831, allocations: 0 / 0.6859 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.1831, allocations: 0 / 0.6859 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.057e-05/0.1832, allocations: 17.22 kB / 0.6859 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002998/0.1835, allocations: 276.8 kB / 0.6862 GB, free: 13.65 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.251e-05/0.1835, allocations: 19.77 kB / 0.6862 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.396e-05/0.1835, allocations: 4.859 kB / 0.6862 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.259e-06/0.1835, allocations: 0.5625 kB / 0.6862 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.1836, allocations: 35.84 kB / 0.6862 GB, free: 13.57 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.1836, allocations: 4.062 kB / 0.6862 GB, free: 13.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001086/0.1837, allocations: 39.02 kB / 0.6863 GB, free: 13.53 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.1837, allocations: 51.41 kB / 0.6863 GB, free: 13.46 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.9e-05/0.1838, allocations: 144.6 kB / 0.6864 GB, free: 13.32 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.1838, allocations: 25.7 kB / 0.6865 GB, free: 13.29 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.674e-05/0.1839, allocations: 97.86 kB / 0.6866 GB, free: 13.19 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.627e-06/0.1839, allocations: 0 / 0.6866 GB, free: 13.19 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-06/0.1839, allocations: 0 / 0.6866 GB, free: 13.19 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.424e-05/0.184, allocations: 322.8 kB / 0.6869 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.963e-05/0.184, allocations: 4.75 kB / 0.6869 GB, free: 12.86 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.048e-05/0.1841, allocations: 19.98 kB / 0.6869 GB, free: 12.84 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.371e-05/0.1841, allocations: 12.59 kB / 0.6869 GB, free: 12.83 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1841, allocations: 2.469 kB / 0.6869 GB, free: 12.83 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.101e-05/0.1842, allocations: 61.59 kB / 0.687 GB, free: 12.76 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.1842, allocations: 4 kB / 0.687 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1842, allocations: 4 kB / 0.687 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.1842, allocations: 3.953 kB / 0.687 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.75e-05/0.1843, allocations: 0 / 0.687 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.898e-06/0.1843, allocations: 0 / 0.687 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.362e-05/0.1843, allocations: 10.05 kB / 0.687 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.1843, allocations: 0 / 0.687 GB, free: 12.74 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 (cmpAll,cmp1,cmp2,cmp3,cmp4,cmp5) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.374e-05/0.1844, allocations: 109.8 kB / 0.6871 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/0.1844, allocations: 7.844 kB / 0.6871 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.8e-05/0.1844, allocations: 16.09 kB / 0.6871 GB, free: 12.6 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.1844, allocations: 1.719 kB / 0.6871 GB, free: 12.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.1844, allocations: 3.953 kB / 0.6871 GB, free: 12.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-06/0.1845, allocations: 0 / 0.6871 GB, free: 12.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/0.1847, allocations: 359.6 kB / 0.6875 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1847, allocations: 0 / 0.6875 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.426e-06/0.1847, allocations: 4.656 kB / 0.6875 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1847, allocations: 0 / 0.6875 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-06/0.1847, allocations: 9.266 kB / 0.6875 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.1847, allocations: 0 / 0.6875 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1847, allocations: 0 / 0.6875 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.476e-05/0.1848, allocations: 70.34 kB / 0.6875 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.366e-05/0.1849, allocations: 89.19 kB / 0.6876 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.1849, allocations: 4 kB / 0.6876 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.374e-05/0.1849, allocations: 7.953 kB / 0.6876 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.558e-05/0.1849, allocations: 192 / 0.6876 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.1849, allocations: 4 kB / 0.6876 GB, free: 11.97 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.579e-05/0.185, allocations: 109.1 kB / 0.6877 GB, free: 11.86 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.185, allocations: 0 / 0.6877 GB, free: 11.86 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001965/0.1852, allocations: 8 kB / 0.6878 GB, free: 11.86 MB / 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 (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.0002152/0.1854, allocations: 121.1 kB / 0.6879 GB, free: 11.73 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.725e-05/0.1855, allocations: 23.98 kB / 0.6879 GB, free: 11.71 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1855, allocations: 3.938 kB / 0.6879 GB, free: 11.71 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.573e-06/0.1855, allocations: 0 / 0.6879 GB, free: 11.71 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001253/0.1857, allocations: 9.719 kB / 0.6879 GB, free: 11.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001843/0.1858, allocations: 114.8 kB / 0.688 GB, free: 11.56 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002052/0.1861, allocations: 0.6809 MB / 0.6887 GB, free: 10.85 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.579e-05/0.1861, allocations: 7.984 kB / 0.6887 GB, free: 10.84 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.281e-05/0.1861, allocations: 11.44 kB / 0.6887 GB, free: 10.83 MB / 494.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1861, allocations: 0 / 0.6887 GB, free: 10.83 MB / 494.1 MB Notification: Performance of Templates: time 0.002161/0.1883, allocations: 0.5203 MB / 0.6892 GB, free: 10.32 MB / 494.1 MB 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)