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.0009393/0.0009394, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005705/0.005705, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.271/1.271, allocations: 223.3 MB / 240.3 MB, free: 5.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.001646/0.001646, allocations: 271 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9047/0.9047, allocations: 169.5 MB / 0.5004 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003963/0.0003963, allocations: 15.34 kB / 0.5987 GB, free: 28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1365, allocations: 88.54 MB / 0.6852 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Cryptographics.Validation.SHA1): time 0.0005264/0.137, allocations: 260.5 kB / 0.6855 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003723/0.1374, allocations: 154 kB / 0.6856 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.328e-05/0.1374, allocations: 0 / 0.6856 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.462e-05/0.1375, allocations: 0 / 0.6856 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001349/0.1376, allocations: 11.94 kB / 0.6856 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.502e-05/0.1377, allocations: 15.97 kB / 0.6856 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.862e-05/0.1377, allocations: 30.45 kB / 0.6857 GB, free: 14.49 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.834e-05/0.1378, allocations: 4.281 kB / 0.6857 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.277e-05/0.1378, allocations: 15.92 kB / 0.6857 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003212/0.1381, allocations: 330.4 kB / 0.686 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.1381, allocations: 4 kB / 0.686 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.704e-05/0.1382, allocations: 8 kB / 0.686 GB, free: 14.17 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.442e-05/0.1382, allocations: 16.41 kB / 0.686 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.138e-05/0.1382, allocations: 38.08 kB / 0.6861 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.116e-05/0.1383, allocations: 35.89 kB / 0.6861 GB, free: 14.08 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1383, allocations: 1.031 kB / 0.6861 GB, free: 14.08 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1384, allocations: 0 / 0.6861 GB, free: 14.08 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.386e-06/0.1384, allocations: 5.562 kB / 0.6861 GB, free: 14.07 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.0002552/0.1386, allocations: 339.5 kB / 0.6864 GB, free: 13.7 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.1387, allocations: 12.03 kB / 0.6864 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.159e-05/0.1387, allocations: 38.69 kB / 0.6865 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.406e-05/0.1387, allocations: 9.594 kB / 0.6865 GB, free: 13.63 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.234e-05/0.1388, allocations: 172.2 kB / 0.6866 GB, free: 13.42 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.317e-06/0.1388, allocations: 6.094 kB / 0.6867 GB, free: 13.42 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-06/0.1389, allocations: 384 / 0.6867 GB, free: 13.42 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.916e-05/0.139, allocations: 57.61 kB / 0.6867 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.631e-06/0.139, allocations: 0 / 0.6867 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.139, allocations: 0.625 kB / 0.6867 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.139, allocations: 0.5938 kB / 0.6867 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.553e-05/0.139, allocations: 19.94 kB / 0.6867 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002854/0.1393, allocations: 275.5 kB / 0.687 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.142e-05/0.1394, allocations: 22.58 kB / 0.687 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.394e-05/0.1394, allocations: 4.859 kB / 0.687 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-06/0.1394, allocations: 1.906 kB / 0.687 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.624e-05/0.1394, allocations: 30.56 kB / 0.687 GB, free: 12.94 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.1394, allocations: 0 / 0.687 GB, free: 12.94 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001109/0.1395, allocations: 42.11 kB / 0.6871 GB, free: 12.89 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.1396, allocations: 56.11 kB / 0.6871 GB, free: 12.83 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.1397, allocations: 137.2 kB / 0.6873 GB, free: 12.69 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.1397, allocations: 25.7 kB / 0.6873 GB, free: 12.66 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.792e-05/0.1398, allocations: 108.5 kB / 0.6874 GB, free: 12.55 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.947e-06/0.1398, allocations: 0 / 0.6874 GB, free: 12.55 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.336e-05/0.1398, allocations: 15.12 kB / 0.6874 GB, free: 12.53 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.599e-05/0.1399, allocations: 322.8 kB / 0.6877 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.418e-05/0.1399, allocations: 12 kB / 0.6877 GB, free: 12.19 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.841e-05/0.1399, allocations: 8.641 kB / 0.6877 GB, free: 12.18 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.166e-05/0.14, allocations: 20.98 kB / 0.6878 GB, free: 12.16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.14, allocations: 0 / 0.6878 GB, free: 12.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.452e-05/0.1401, allocations: 65.62 kB / 0.6878 GB, free: 12.09 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.1401, allocations: 6.031 kB / 0.6878 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.1401, allocations: 0 / 0.6878 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.887e-06/0.1401, allocations: 0 / 0.6878 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.532e-05/0.1402, allocations: 7.984 kB / 0.6878 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.1402, allocations: 0 / 0.6878 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.647e-05/0.1402, allocations: 8.031 kB / 0.6878 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-06/0.1402, allocations: 11.94 kB / 0.6879 GB, free: 12.06 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 (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 5.724e-05/0.1403, allocations: 113.8 kB / 0.688 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.1403, allocations: 7.906 kB / 0.688 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.728e-05/0.1403, allocations: 7.531 kB / 0.688 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1403, allocations: 3.984 kB / 0.688 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.1403, allocations: 4 kB / 0.688 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1403, allocations: 3.938 kB / 0.688 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002308/0.1406, allocations: 354.7 kB / 0.6883 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.1406, allocations: 0 / 0.6883 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.02e-06/0.1406, allocations: 4.031 kB / 0.6883 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.1406, allocations: 7.922 kB / 0.6883 GB, free: 11.49 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.15e-06/0.1406, allocations: 3.938 kB / 0.6883 GB, free: 11.49 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1406, allocations: 0 / 0.6883 GB, free: 11.49 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1406, allocations: 0 / 0.6883 GB, free: 11.49 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.494e-05/0.1407, allocations: 61.08 kB / 0.6884 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.99e-05/0.1407, allocations: 89 kB / 0.6885 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.1408, allocations: 3.938 kB / 0.6885 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.19e-05/0.1408, allocations: 4.031 kB / 0.6885 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.954e-05/0.1408, allocations: 7.984 kB / 0.6885 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.1408, allocations: 0 / 0.6885 GB, free: 11.29 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.185e-05/0.1409, allocations: 103.2 kB / 0.6886 GB, free: 11.19 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1409, allocations: 0 / 0.6886 GB, free: 11.19 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001878/0.1411, allocations: 16 kB / 0.6886 GB, free: 11.17 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 (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.0003851/0.1415, allocations: 0.6178 MB / 0.6892 GB, free: 10.54 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.302e-05/0.1415, allocations: 31.86 kB / 0.6893 GB, free: 10.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1415, allocations: 0 / 0.6893 GB, free: 10.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.786e-06/0.1416, allocations: 4.031 kB / 0.6893 GB, free: 10.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001275/0.1417, allocations: 5.969 kB / 0.6893 GB, free: 10.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000281/0.142, allocations: 156.3 kB / 0.6894 GB, free: 10.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001885/0.1422, allocations: 0.6848 MB / 0.6901 GB, free: 9.59 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.684e-05/0.1422, allocations: 12.06 kB / 0.6901 GB, free: 9.578 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.473e-05/0.1422, allocations: 11.44 kB / 0.6901 GB, free: 9.566 MB / 494.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1422, allocations: 8.062 kB / 0.6901 GB, free: 9.559 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1378/0.2801, allocations: 1.36 MB / 0.6914 GB, free: 8.332 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002163/0.2803, allocations: 258.3 kB / 0.6917 GB, free: 8.078 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.886/2.166, allocations: 0 / 0.6917 GB, free: 8.078 MB / 494.1 MB (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/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)