Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Cryptographics.Validation.SHA1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Cryptographics_Validation_SHA1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Cryptographics_Validation_SHA1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.241/1.241, allocations: 251.5 MB / 266.7 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000874/0.000874, allocations: 183 kB / 325.9 MB, free: 2.668 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.355/1.355, allocations: 205 MB / 0.576 GB, free: 20.93 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007037/0.0007037, allocations: 102.8 kB / 0.6797 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002937/0.0002938, allocations: 8.781 kB / 0.7932 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1616, allocations: 105.4 MB / 0.8962 GB, free: 68.08 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.0005501/0.1622, allocations: 278.5 kB / 0.8964 GB, free: 67.81 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003433/0.1625, allocations: 160.8 kB / 0.8966 GB, free: 67.65 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.255e-05/0.1626, allocations: 0 / 0.8966 GB, free: 67.65 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.94e-05/0.1626, allocations: 3.938 kB / 0.8966 GB, free: 67.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.1627, allocations: 0 / 0.8966 GB, free: 67.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.478e-05/0.1628, allocations: 23.92 kB / 0.8966 GB, free: 67.62 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.392e-05/0.1628, allocations: 27.92 kB / 0.8967 GB, free: 67.59 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.166e-05/0.1629, allocations: 7.938 kB / 0.8967 GB, free: 67.59 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.029e-05/0.1629, allocations: 11.92 kB / 0.8967 GB, free: 67.57 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002638/0.1632, allocations: 313 kB / 0.897 GB, free: 67.29 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.1632, allocations: 0 / 0.897 GB, free: 67.29 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.383e-05/0.1632, allocations: 19.94 kB / 0.897 GB, free: 67.27 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.151e-05/0.1633, allocations: 11.92 kB / 0.897 GB, free: 67.25 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.977e-05/0.1633, allocations: 11.94 kB / 0.897 GB, free: 67.24 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.823e-05/0.1634, allocations: 39.83 kB / 0.8971 GB, free: 67.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1634, allocations: 0 / 0.8971 GB, free: 67.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1634, allocations: 0 / 0.8971 GB, free: 67.2 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.136e-06/0.1634, allocations: 0 / 0.8971 GB, free: 67.2 MB / 0.6042 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.0001939/0.1636, allocations: 335.5 kB / 0.8974 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.1636, allocations: 12.02 kB / 0.8974 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.338e-05/0.1637, allocations: 46.69 kB / 0.8974 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.331e-05/0.1637, allocations: 4.844 kB / 0.8974 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.693e-05/0.1638, allocations: 164.4 kB / 0.8976 GB, free: 66.56 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.206e-06/0.1638, allocations: 384 / 0.8976 GB, free: 66.56 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.665e-06/0.1638, allocations: 4.375 kB / 0.8976 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.6e-05/0.1639, allocations: 49.61 kB / 0.8976 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.1639, allocations: 7.938 kB / 0.8976 GB, free: 66.49 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.1639, allocations: 4 kB / 0.8977 GB, free: 66.49 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.1639, allocations: 0 / 0.8977 GB, free: 66.49 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.774e-05/0.164, allocations: 15.98 kB / 0.8977 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002471/0.1642, allocations: 280.8 kB / 0.8979 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 2.569e-05/0.1642, allocations: 18.58 kB / 0.898 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.311e-05/0.1643, allocations: 12.92 kB / 0.898 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.73e-06/0.1643, allocations: 0 / 0.898 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.31e-05/0.1643, allocations: 38.48 kB / 0.898 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.1643, allocations: 3.938 kB / 0.898 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001035/0.1644, allocations: 41.61 kB / 0.898 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.802e-05/0.1644, allocations: 51.41 kB / 0.8981 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.559e-05/0.1645, allocations: 140.6 kB / 0.8982 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.919e-06/0.1645, allocations: 25.7 kB / 0.8983 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.272e-05/0.1646, allocations: 92.05 kB / 0.8983 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.39e-06/0.1646, allocations: 11.89 kB / 0.8984 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.984e-05/0.1646, allocations: 13.72 kB / 0.8984 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.46e-05/0.1646, allocations: 318.8 kB / 0.8987 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.975e-05/0.1647, allocations: 16.11 kB / 0.8987 GB, free: 65.31 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.777e-05/0.1647, allocations: 8 kB / 0.8987 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.912e-05/0.1647, allocations: 24.78 kB / 0.8987 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.1647, allocations: 0 / 0.8987 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.354e-05/0.1648, allocations: 61.67 kB / 0.8988 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.1648, allocations: 10.5 kB / 0.8988 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.1648, allocations: 0 / 0.8988 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.1648, allocations: 0 / 0.8988 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.534e-05/0.1649, allocations: 0 / 0.8988 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.1649, allocations: 4 kB / 0.8988 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.468e-05/0.1649, allocations: 11.84 kB / 0.8988 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.1649, allocations: 0 / 0.8988 GB, free: 65.18 MB / 0.6042 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 4.072e-05/0.165, allocations: 117.8 kB / 0.8989 GB, free: 65.06 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.461e-05/0.165, allocations: 7.984 kB / 0.8989 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.466e-05/0.165, allocations: 7.469 kB / 0.8989 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.165, allocations: 0 / 0.8989 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.165, allocations: 0 / 0.8989 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.165, allocations: 3.938 kB / 0.8989 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.1652, allocations: 370.7 kB / 0.8993 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1652, allocations: 0 / 0.8993 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.446e-06/0.1652, allocations: 4 kB / 0.8993 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-06/0.1652, allocations: 0 / 0.8993 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-06/0.1652, allocations: 3.938 kB / 0.8993 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1652, allocations: 192 / 0.8993 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1652, allocations: 0 / 0.8993 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.462e-05/0.1653, allocations: 73.09 kB / 0.8994 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.558e-05/0.1653, allocations: 84.95 kB / 0.8994 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.1653, allocations: 7.875 kB / 0.8995 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.168e-05/0.1653, allocations: 4 kB / 0.8995 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.56e-05/0.1654, allocations: 0 / 0.8995 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-06/0.1654, allocations: 0 / 0.8995 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.731e-05/0.1654, allocations: 103.3 kB / 0.8996 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1654, allocations: 0 / 0.8996 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000174/0.1656, allocations: 15.98 kB / 0.8996 GB, free: 64.29 MB / 0.6042 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.0002715/0.1659, allocations: 0.6112 MB / 0.9002 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.838e-05/0.166, allocations: 19.94 kB / 0.9002 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.166, allocations: 4.031 kB / 0.9002 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.693e-06/0.166, allocations: 4 kB / 0.9002 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001176/0.1661, allocations: 6.062 kB / 0.9002 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002354/0.1663, allocations: 161.4 kB / 0.9004 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.279e-05/0.1664, allocations: 0.6809 MB / 0.901 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.295e-05/0.1665, allocations: 12.19 kB / 0.901 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.165e-05/0.1665, allocations: 19.42 kB / 0.901 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of SimCode: time 3.11e-07/0.1665, allocations: 3.938 kB / 0.9011 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09511/0.2616, allocations: 1.346 MB / 0.9024 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001637/0.2618, allocations: 270.1 kB / 0.9026 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.73/1.991, allocations: 1 kB / 0.9026 GB, free: 61.2 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Cryptographics.Validation.SHA1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Cryptographics_Validation_SHA1_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Cryptographics_Validation_SHA1.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1)