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.8232/0.8232, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001478/0.001479, allocations: 190.6 kB / 187.3 MB, free: 11.89 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.572/1.572, allocations: 221.3 MB / 441.4 MB, free: 4.594 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.001/0.001, allocations: 98.05 kB / 0.5124 GB, free: 24.28 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002004/0.002004, allocations: 268.4 kB / 0.5939 GB, free: 7.965 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.02e-05/4.023e-05, allocations: 0 / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5264/0.5265, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1361/0.6627, allocations: 108.3 MB / 0.8702 GB, free: 200 kB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/0.663, allocations: 72.83 kB / 0.8702 GB, free: 128 kB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004371/0.6674, allocations: 2.106 MB / 0.8723 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6674, allocations: 3.938 kB / 0.8723 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.6675, allocations: 0 / 0.8723 GB, free: 14.04 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.0003332/0.6678, allocations: 338.5 kB / 0.8726 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.6679, allocations: 8.031 kB / 0.8726 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.734e-05/0.6679, allocations: 36 kB / 0.8727 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.996e-05/0.668, allocations: 7.906 kB / 0.8727 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.6681, allocations: 167.1 kB / 0.8728 GB, free: 13.4 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.6682, allocations: 5.672 kB / 0.8728 GB, free: 13.4 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.6682, allocations: 0 / 0.8728 GB, free: 13.4 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.6683, allocations: 49.69 kB / 0.8729 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.6684, allocations: 3.938 kB / 0.8729 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.6684, allocations: 4 kB / 0.8729 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.6684, allocations: 0 / 0.8729 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.747e-05/0.6685, allocations: 16 kB / 0.8729 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004412/0.6689, allocations: 276.8 kB / 0.8732 GB, free: 13 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 4.147e-05/0.669, allocations: 14.58 kB / 0.8732 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.033e-05/0.669, allocations: 8.859 kB / 0.8732 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/0.669, allocations: 4.062 kB / 0.8732 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.669, allocations: 38.5 kB / 0.8732 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.6691, allocations: 0 / 0.8732 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1): time 0.0001491/0.6692, allocations: 33.69 kB / 0.8733 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.6693, allocations: 51.41 kB / 0.8733 GB, free: 12.81 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.6694, allocations: 130.7 kB / 0.8734 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.6694, allocations: 29.64 kB / 0.8735 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.045e-05/0.6695, allocations: 92.05 kB / 0.8735 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.534e-06/0.6695, allocations: 7.922 kB / 0.8736 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-06/0.6695, allocations: 4.031 kB / 0.8736 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.6697, allocations: 326.8 kB / 0.8739 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.58e-05/0.6697, allocations: 8 kB / 0.8739 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.017e-05/0.6698, allocations: 8 kB / 0.8739 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.614e-05/0.6698, allocations: 8 kB / 0.8739 GB, free: 12.19 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.6698, allocations: 0 / 0.8739 GB, free: 12.19 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001233/0.6699, allocations: 69.52 kB / 0.874 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.6699, allocations: 4 kB / 0.874 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.67, allocations: 0 / 0.874 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.67, allocations: 8.172 kB / 0.874 GB, free: 12.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.491e-05/0.67, allocations: 8 kB / 0.874 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.67, allocations: 0 / 0.874 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.424e-05/0.6701, allocations: 0 / 0.874 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.6701, allocations: 0 / 0.874 GB, free: 12.09 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 () * 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 8.205e-05/0.6702, allocations: 116 kB / 0.8741 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.473e-05/0.6702, allocations: 3.906 kB / 0.8741 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.698e-05/0.6702, allocations: 11.64 kB / 0.8741 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-07/0.6702, allocations: 0 / 0.8741 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.6702, allocations: 0 / 0.8741 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.6702, allocations: 4 kB / 0.8741 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003338/0.6706, allocations: 366.7 kB / 0.8745 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.6706, allocations: 0 / 0.8745 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.527e-06/0.6706, allocations: 0 / 0.8745 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.6706, allocations: 4 kB / 0.8745 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.6706, allocations: 0 / 0.8745 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.6706, allocations: 0 / 0.8745 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.6706, allocations: 0 / 0.8745 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.866e-05/0.6707, allocations: 65.06 kB / 0.8745 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.031e-05/0.6708, allocations: 89 kB / 0.8746 GB, free: 11.35 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.6708, allocations: 4 kB / 0.8746 GB, free: 11.35 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.207e-05/0.6708, allocations: 0 / 0.8746 GB, free: 11.35 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.025e-05/0.6709, allocations: 3.984 kB / 0.8746 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.6709, allocations: 0 / 0.8746 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 7.229e-05/0.6709, allocations: 110.2 kB / 0.8747 GB, free: 11.24 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.671, allocations: 4.031 kB / 0.8747 GB, free: 11.23 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001879/0.6711, allocations: 12 kB / 0.8747 GB, free: 11.22 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 () * 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.0006126/0.6718, allocations: 0.6316 MB / 0.8753 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 9.368e-05/0.6719, allocations: 20 kB / 0.8754 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.6719, allocations: 0 / 0.8754 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 8.837e-06/0.6719, allocations: 4 kB / 0.8754 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.764e-05/0.672, allocations: 7.938 kB / 0.8754 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003542/0.6724, allocations: 110.7 kB / 0.8755 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.6727, allocations: 0.6918 MB / 0.8762 GB, free: 9.68 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.307e-05/0.6727, allocations: 11.98 kB / 0.8762 GB, free: 9.668 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.264e-05/0.6728, allocations: 15.44 kB / 0.8762 GB, free: 9.652 MB / 0.5417 GB Notification: Performance of SimCode: time 3.01e-07/0.6728, allocations: 0 / 0.8762 GB, free: 9.652 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01282/0.6856, allocations: 1.345 MB / 0.8775 GB, free: 8.445 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000213/0.6859, allocations: 205.9 kB / 0.8777 GB, free: 8.219 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.796/2.482, allocations: 0 / 0.8777 GB, free: 8.219 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)