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.8189/0.8189, allocations: 143.3 MB / 158.3 MB, free: 5.777 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.00114/0.00114, allocations: 185 kB / 191.5 MB, free: 5.746 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.507/1.507, allocations: 223.1 MB / 447.7 MB, free: 4.789 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.0009774/0.0009774, allocations: 88.33 kB / 0.5187 GB, free: 1.145 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001758/0.001758, allocations: 270.2 kB / 0.6005 GB, free: 48.72 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004443/0.0004443, allocations: 17.16 kB / 0.6929 GB, free: 59.6 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2026, allocations: 82.8 MB / 0.7738 GB, free: 13.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1619/0.3645, allocations: 108.4 MB / 0.8796 GB, free: 1.203 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/0.3648, allocations: 75.95 kB / 0.8797 GB, free: 1.129 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.414/0.7788, allocations: 2.107 MB / 0.8818 GB, free: 109.4 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.474e-06/0.7789, allocations: 0 / 0.8818 GB, free: 109.4 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.795e-06/0.7789, allocations: 0 / 0.8818 GB, free: 109.4 MB / 0.5417 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.0002478/0.7792, allocations: 346.1 kB / 0.8821 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.7792, allocations: 8.812 kB / 0.8821 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.29e-05/0.7793, allocations: 33.08 kB / 0.8821 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.661e-05/0.7793, allocations: 13.41 kB / 0.8821 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.967e-05/0.7794, allocations: 169.5 kB / 0.8823 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.7794, allocations: 7.547 kB / 0.8823 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.7794, allocations: 0 / 0.8823 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.7796, allocations: 50.08 kB / 0.8824 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.7796, allocations: 1.141 kB / 0.8824 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.7796, allocations: 0 / 0.8824 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.7796, allocations: 0.8125 kB / 0.8824 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.731e-05/0.7796, allocations: 20.48 kB / 0.8824 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002996/0.7799, allocations: 287.4 kB / 0.8827 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 3.411e-05/0.78, allocations: 18.02 kB / 0.8827 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 6.823e-06/0.78, allocations: 0 / 0.8827 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.404e-05/0.78, allocations: 33.34 kB / 0.8827 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.78, allocations: 0 / 0.8827 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1): time 0.0001358/0.7802, allocations: 49.94 kB / 0.8828 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.417e-05/0.7802, allocations: 54.12 kB / 0.8828 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.529e-05/0.7803, allocations: 124.7 kB / 0.8829 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.995e-06/0.7803, allocations: 25.7 kB / 0.8829 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.364e-05/0.7804, allocations: 90.48 kB / 0.883 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.42e-06/0.7804, allocations: 2.719 kB / 0.883 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/0.7804, allocations: 3.312 kB / 0.883 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.006e-05/0.7804, allocations: 320.1 kB / 0.8833 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.114e-05/0.7805, allocations: 15.72 kB / 0.8834 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.899e-05/0.7805, allocations: 12.12 kB / 0.8834 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.375e-05/0.7805, allocations: 8.062 kB / 0.8834 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.7805, allocations: 0 / 0.8834 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.679e-05/0.7806, allocations: 65.39 kB / 0.8834 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.7806, allocations: 3.75 kB / 0.8834 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.7806, allocations: 2.688 kB / 0.8834 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.7807, allocations: 0 / 0.8834 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.195e-05/0.7807, allocations: 5.125 kB / 0.8835 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.7807, allocations: 2.875 kB / 0.8835 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.173e-05/0.7807, allocations: 4 kB / 0.8835 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.178e-06/0.7807, allocations: 2.719 kB / 0.8835 GB, free: 107.8 MB / 0.5417 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 () * 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 5.32e-05/0.7808, allocations: 116.5 kB / 0.8836 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.628e-05/0.7808, allocations: 2.531 kB / 0.8836 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.678e-05/0.7809, allocations: 8.438 kB / 0.8836 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.7809, allocations: 0 / 0.8836 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.7809, allocations: 0 / 0.8836 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.7809, allocations: 2.469 kB / 0.8836 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000212/0.7811, allocations: 380.6 kB / 0.8839 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.7811, allocations: 0 / 0.8839 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.787e-06/0.7811, allocations: 0 / 0.8839 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.7812, allocations: 1.125 kB / 0.8839 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.7812, allocations: 0 / 0.8839 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.7812, allocations: 2.875 kB / 0.884 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.7812, allocations: 0 / 0.884 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.14e-05/0.7812, allocations: 67.95 kB / 0.884 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.114e-05/0.7813, allocations: 90.3 kB / 0.8841 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.7813, allocations: 0 / 0.8841 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.219e-05/0.7813, allocations: 2.969 kB / 0.8841 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.17e-05/0.7813, allocations: 0 / 0.8841 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-06/0.7813, allocations: 0 / 0.8841 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.049e-05/0.7814, allocations: 107.1 kB / 0.8842 GB, free: 107 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7814, allocations: 3.781 kB / 0.8842 GB, free: 107 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001811/0.7816, allocations: 15.12 kB / 0.8842 GB, free: 107 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 () * 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.0004037/0.782, allocations: 0.6252 MB / 0.8848 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 8.619e-05/0.7821, allocations: 24.69 kB / 0.8849 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.7821, allocations: 0 / 0.8849 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 6.883e-06/0.7821, allocations: 3.938 kB / 0.8849 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001009/0.7822, allocations: 9.219 kB / 0.8849 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003074/0.7825, allocations: 161.8 kB / 0.885 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001263/0.7827, allocations: 0.6893 MB / 0.8857 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.844e-05/0.7827, allocations: 8 kB / 0.8857 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.831e-05/0.7827, allocations: 17.2 kB / 0.8857 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of SimCode: time 2.71e-07/0.7828, allocations: 0 / 0.8857 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01129/0.794, allocations: 1.36 MB / 0.8871 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001476/0.7942, allocations: 227.5 kB / 0.8873 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.859/2.653, allocations: 0 / 0.8873 GB, free: 105.1 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)