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.005369/0.005376, allocations: 96.48 kB / 15.73 MB, free: 6.484 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.001264/0.001264, allocations: 191.9 kB / 16.67 MB, free: 6.391 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002483/0.002483, allocations: 283 kB / 290.8 MB, free: 1.902 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.016/1.016, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002709/0.002709, allocations: 90.52 kB / 0.6809 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1699, allocations: 86.97 MB / 0.7659 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Cryptographics.Validation.SHA1): time 0.001637/0.1716, allocations: 0.5341 MB / 0.7664 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004128/0.172, allocations: 144.1 kB / 0.7665 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.038e-05/0.172, allocations: 4 kB / 0.7665 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.579e-05/0.172, allocations: 3.938 kB / 0.7665 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001988/0.1723, allocations: 7.922 kB / 0.7666 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 7.213e-05/0.1723, allocations: 19.92 kB / 0.7666 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.933e-05/0.1724, allocations: 35.84 kB / 0.7666 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.927e-05/0.1725, allocations: 8 kB / 0.7666 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.457e-05/0.1725, allocations: 11.92 kB / 0.7666 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000394/0.1729, allocations: 323.3 kB / 0.7669 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.1729, allocations: 0 / 0.7669 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.738e-05/0.173, allocations: 20 kB / 0.767 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.151e-05/0.173, allocations: 3.938 kB / 0.767 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.246e-05/0.173, allocations: 15.92 kB / 0.767 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.1732, allocations: 36.06 kB / 0.767 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.1732, allocations: 4 kB / 0.767 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1732, allocations: 0 / 0.767 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.1732, allocations: 0 / 0.767 GB, free: 7.812 MB / 0.5606 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.0003856/0.1736, allocations: 355.2 kB / 0.7674 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.1736, allocations: 8.031 kB / 0.7674 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.391e-05/0.1737, allocations: 34.75 kB / 0.7674 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.109e-05/0.1737, allocations: 8.891 kB / 0.7674 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.1739, allocations: 184.2 kB / 0.7676 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.1739, allocations: 384 / 0.7676 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.1739, allocations: 4.375 kB / 0.7676 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.1741, allocations: 49.62 kB / 0.7676 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.1741, allocations: 0 / 0.7676 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.1741, allocations: 4 kB / 0.7676 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1741, allocations: 0 / 0.7676 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.962e-05/0.1742, allocations: 19.98 kB / 0.7677 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000372/0.1745, allocations: 276.8 kB / 0.7679 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.919e-05/0.1746, allocations: 14.58 kB / 0.7679 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.713e-05/0.1746, allocations: 8.859 kB / 0.7679 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.416e-06/0.1746, allocations: 4.062 kB / 0.7679 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001144/0.1747, allocations: 34.56 kB / 0.768 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.253e-06/0.1747, allocations: 3.938 kB / 0.768 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001341/0.1749, allocations: 41.59 kB / 0.768 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.1749, allocations: 51.41 kB / 0.7681 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.1751, allocations: 140.3 kB / 0.7682 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.1751, allocations: 37.77 kB / 0.7682 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.233e-05/0.1752, allocations: 88.09 kB / 0.7683 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.286e-06/0.1752, allocations: 8 kB / 0.7683 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.403e-05/0.1752, allocations: 25.7 kB / 0.7684 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.1754, allocations: 314.8 kB / 0.7687 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.681e-05/0.1754, allocations: 11.98 kB / 0.7687 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.386e-05/0.1754, allocations: 12 kB / 0.7687 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.897e-05/0.1755, allocations: 20.84 kB / 0.7687 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1755, allocations: 4.125 kB / 0.7687 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000109/0.1756, allocations: 65.58 kB / 0.7688 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.1756, allocations: 8 kB / 0.7688 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.1756, allocations: 0 / 0.7688 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.1756, allocations: 0 / 0.7688 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.715e-05/0.1757, allocations: 0 / 0.7688 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.1757, allocations: 4 kB / 0.7688 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.816e-05/0.1757, allocations: 11.88 kB / 0.7688 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.1757, allocations: 4 kB / 0.7688 GB, free: 5.762 MB / 0.5606 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 (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 8.537e-05/0.1758, allocations: 113.8 kB / 0.7689 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.116e-05/0.1759, allocations: 11.94 kB / 0.7689 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.854e-05/0.1759, allocations: 7.531 kB / 0.7689 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.1759, allocations: 0 / 0.7689 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.1759, allocations: 0 / 0.7689 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.1759, allocations: 7.938 kB / 0.7689 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003942/0.1763, allocations: 354.7 kB / 0.7693 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1763, allocations: 4 kB / 0.7693 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.757e-06/0.1763, allocations: 0 / 0.7693 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.1763, allocations: 4.031 kB / 0.7693 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.1763, allocations: 3.938 kB / 0.7693 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.1764, allocations: 0 / 0.7693 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1764, allocations: 0 / 0.7693 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.515e-05/0.1764, allocations: 69.02 kB / 0.7693 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.607e-05/0.1765, allocations: 81.06 kB / 0.7694 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.1765, allocations: 11.88 kB / 0.7694 GB, free: 5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.692e-05/0.1765, allocations: 4.031 kB / 0.7694 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.13e-05/0.1766, allocations: 0 / 0.7694 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-06/0.1766, allocations: 0 / 0.7694 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.146e-05/0.1766, allocations: 105.5 kB / 0.7695 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1767, allocations: 0 / 0.7695 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002712/0.1769, allocations: 15.92 kB / 0.7695 GB, free: 4.879 MB / 0.5606 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 (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.000628/0.1776, allocations: 0.6312 MB / 0.7702 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.983e-05/0.1777, allocations: 27.88 kB / 0.7702 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.1777, allocations: 0 / 0.7702 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.817e-06/0.1777, allocations: 4 kB / 0.7702 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001752/0.1779, allocations: 10.14 kB / 0.7702 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003731/0.1783, allocations: 150.5 kB / 0.7703 GB, free: 4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004017/0.1787, allocations: 0.6807 MB / 0.771 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.745e-05/0.1787, allocations: 7.984 kB / 0.771 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.713e-05/0.1787, allocations: 11.44 kB / 0.771 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of SimCode: time 2.51e-07/0.1787, allocations: 0 / 0.771 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1665/0.3452, allocations: 1.611 MB / 0.7726 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.422/8.767, allocations: 15.45 kB / 0.7726 GB, free: 1.754 MB / 0.5606 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/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)