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.00121/0.001209, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001364/0.001365, allocations: 189.1 kB / 16.25 MB, free: 6.629 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.28/1.28, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001899/0.001899, allocations: 278.9 kB / 290.4 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9002/0.9002, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 98.38 kB / 0.5948 GB, free: 28.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1399, allocations: 86.98 MB / 0.6797 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Cryptographics.Validation.SHA1): time 0.001646/0.1415, allocations: 0.584 MB / 0.6803 GB, free: 400 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003542/0.1419, allocations: 148.8 kB / 0.6804 GB, free: 248 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.137e-05/0.1419, allocations: 4.562 kB / 0.6805 GB, free: 244 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.367e-05/0.142, allocations: 0 / 0.6805 GB, free: 244 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001594/0.1421, allocations: 8.656 kB / 0.6805 GB, free: 236 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.719e-05/0.1422, allocations: 23.97 kB / 0.6805 GB, free: 212 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 4.641e-05/0.1423, allocations: 28.48 kB / 0.6805 GB, free: 184 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.04e-05/0.1423, allocations: 4.281 kB / 0.6805 GB, free: 180 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.161e-05/0.1423, allocations: 13.89 kB / 0.6805 GB, free: 168 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002982/0.1427, allocations: 311.3 kB / 0.6808 GB, free: 15.89 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.1427, allocations: 4 kB / 0.6808 GB, free: 15.89 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.009e-05/0.1427, allocations: 15.98 kB / 0.6808 GB, free: 15.87 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.173e-05/0.1427, allocations: 11.92 kB / 0.6809 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.411e-05/0.1428, allocations: 15.88 kB / 0.6809 GB, free: 15.84 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.587e-05/0.1429, allocations: 35.89 kB / 0.6809 GB, free: 15.81 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1429, allocations: 0 / 0.6809 GB, free: 15.81 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1429, allocations: 3.938 kB / 0.6809 GB, free: 15.8 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.1429, allocations: 0 / 0.6809 GB, free: 15.8 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.0002831/0.1432, allocations: 355.3 kB / 0.6812 GB, free: 15.41 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.1432, allocations: 8.031 kB / 0.6813 GB, free: 15.4 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.796e-05/0.1433, allocations: 34.73 kB / 0.6813 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.454e-05/0.1433, allocations: 8.938 kB / 0.6813 GB, free: 15.35 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.1434, allocations: 176.2 kB / 0.6815 GB, free: 15.14 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-06/0.1434, allocations: 384 / 0.6815 GB, free: 15.14 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.789e-06/0.1434, allocations: 8.375 kB / 0.6815 GB, free: 15.13 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.1435, allocations: 49.61 kB / 0.6815 GB, free: 15.08 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.151e-06/0.1435, allocations: 0 / 0.6815 GB, free: 15.08 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.202e-06/0.1436, allocations: 0 / 0.6815 GB, free: 15.08 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.1436, allocations: 4 kB / 0.6815 GB, free: 15.07 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.446e-05/0.1436, allocations: 19.92 kB / 0.6815 GB, free: 15.05 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002867/0.1439, allocations: 280.8 kB / 0.6818 GB, free: 14.73 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.169e-05/0.1439, allocations: 18.52 kB / 0.6818 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.389e-05/0.144, allocations: 4.859 kB / 0.6818 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-06/0.144, allocations: 8.047 kB / 0.6818 GB, free: 14.69 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.561e-05/0.144, allocations: 30.56 kB / 0.6819 GB, free: 14.65 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.144, allocations: 0 / 0.6819 GB, free: 14.65 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001167/0.1441, allocations: 37.78 kB / 0.6819 GB, free: 14.61 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.1442, allocations: 63.38 kB / 0.682 GB, free: 14.53 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.94e-05/0.1443, allocations: 135.6 kB / 0.6821 GB, free: 14.39 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.1443, allocations: 29.7 kB / 0.6821 GB, free: 14.36 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.9e-05/0.1443, allocations: 95.97 kB / 0.6822 GB, free: 14.26 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.542e-06/0.1443, allocations: 7.984 kB / 0.6822 GB, free: 14.25 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.911e-05/0.1444, allocations: 21.72 kB / 0.6822 GB, free: 14.22 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.918e-05/0.1445, allocations: 322.8 kB / 0.6826 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.264e-05/0.1445, allocations: 8 kB / 0.6826 GB, free: 13.89 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.145e-05/0.1445, allocations: 16.11 kB / 0.6826 GB, free: 13.88 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.373e-05/0.1446, allocations: 20.86 kB / 0.6826 GB, free: 13.85 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1446, allocations: 0 / 0.6826 GB, free: 13.85 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001046/0.1447, allocations: 65.59 kB / 0.6827 GB, free: 13.78 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.1447, allocations: 7.938 kB / 0.6827 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.1447, allocations: 0 / 0.6827 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.1447, allocations: 0 / 0.6827 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.952e-05/0.1448, allocations: 3.984 kB / 0.6827 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.1448, allocations: 4 kB / 0.6827 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.604e-05/0.1448, allocations: 15.78 kB / 0.6827 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.1448, allocations: 4 kB / 0.6827 GB, free: 13.75 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 6.833e-05/0.1449, allocations: 109.8 kB / 0.6828 GB, free: 13.63 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/0.1449, allocations: 4 kB / 0.6828 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.619e-05/0.1449, allocations: 3.531 kB / 0.6828 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.1449, allocations: 0 / 0.6828 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.145, allocations: 0 / 0.6828 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.145, allocations: 7.922 kB / 0.6828 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002562/0.1452, allocations: 362.7 kB / 0.6832 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1452, allocations: 4 kB / 0.6832 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.548e-06/0.1452, allocations: 3.938 kB / 0.6832 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1453, allocations: 0 / 0.6832 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-06/0.1453, allocations: 3.938 kB / 0.6832 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.1453, allocations: 3.984 kB / 0.6832 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1453, allocations: 0 / 0.6832 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.03e-05/0.1453, allocations: 61.08 kB / 0.6832 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.196e-05/0.1454, allocations: 77.11 kB / 0.6833 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.1454, allocations: 12 kB / 0.6833 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.342e-05/0.1454, allocations: 4 kB / 0.6833 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.882e-05/0.1454, allocations: 3.984 kB / 0.6833 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.1455, allocations: 0 / 0.6833 GB, free: 12.99 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.353e-05/0.1455, allocations: 105.2 kB / 0.6834 GB, free: 12.89 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1455, allocations: 0 / 0.6834 GB, free: 12.89 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001918/0.1457, allocations: 12 kB / 0.6834 GB, free: 12.88 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.0004157/0.1461, allocations: 0.6214 MB / 0.684 GB, free: 12.24 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.671e-05/0.1462, allocations: 31.89 kB / 0.6841 GB, free: 12.21 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1462, allocations: 0 / 0.6841 GB, free: 12.21 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.796e-06/0.1463, allocations: 4 kB / 0.6841 GB, free: 12.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.1464, allocations: 5.828 kB / 0.6841 GB, free: 12.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002883/0.1467, allocations: 154.7 kB / 0.6842 GB, free: 12.01 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002033/0.1469, allocations: 0.6885 MB / 0.6849 GB, free: 11.29 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.245e-05/0.1469, allocations: 12.03 kB / 0.6849 GB, free: 11.28 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.552e-05/0.147, allocations: 15.44 kB / 0.6849 GB, free: 11.27 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.147, allocations: 0 / 0.6849 GB, free: 11.27 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01098/0.158, allocations: 1.505 MB / 0.6864 GB, free: 9.902 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001835/0.1582, allocations: 260.3 kB / 0.6866 GB, free: 9.645 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.643/1.801, allocations: 0 / 0.6866 GB, free: 9.645 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)