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.004994/0.004994, allocations: 100.3 kB / 15.73 MB, free: 6.062 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.001309/0.001309, allocations: 192.9 kB / 16.67 MB, free: 5.973 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002493/0.002493, allocations: 278.8 kB / 290.8 MB, free: 1.781 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.062/1.062, allocations: 178.6 MB / 0.5074 GB, free: 4.484 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002696/0.002696, allocations: 103.8 kB / 0.6943 GB, free: 3.637 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4226/0.4253, allocations: 89.13 MB / 0.7813 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Cryptographics.Validation.SHA1): time 0.001546/0.4269, allocations: 0.5401 MB / 0.7818 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004077/0.4273, allocations: 153.5 kB / 0.782 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.823e-05/0.4273, allocations: 0 / 0.782 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.063e-05/0.4274, allocations: 5.125 kB / 0.782 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001795/0.4275, allocations: 7.578 kB / 0.782 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 7.061e-05/0.4276, allocations: 27.33 kB / 0.782 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.271e-05/0.4277, allocations: 26.45 kB / 0.782 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.451e-05/0.4277, allocations: 3.844 kB / 0.7821 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.434e-05/0.4278, allocations: 15.7 kB / 0.7821 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003547/0.4281, allocations: 317 kB / 0.7824 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.4282, allocations: 0 / 0.7824 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.392e-05/0.4282, allocations: 13.34 kB / 0.7824 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.633e-05/0.4282, allocations: 8.531 kB / 0.7824 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.655e-05/0.4283, allocations: 16.17 kB / 0.7824 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001051/0.4284, allocations: 44.39 kB / 0.7824 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.4284, allocations: 0 / 0.7824 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.343e-06/0.4284, allocations: 0 / 0.7824 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.4284, allocations: 0 / 0.7824 GB, free: 13.21 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.0003615/0.4288, allocations: 354.1 kB / 0.7828 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.4288, allocations: 11.58 kB / 0.7828 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.22e-05/0.4289, allocations: 35.36 kB / 0.7828 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.728e-05/0.4289, allocations: 7.766 kB / 0.7828 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.429, allocations: 172.5 kB / 0.783 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.429, allocations: 6.547 kB / 0.783 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.135e-06/0.4291, allocations: 1.469 kB / 0.783 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.4292, allocations: 54.89 kB / 0.7831 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.4292, allocations: 0 / 0.7831 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.4292, allocations: 1.125 kB / 0.7831 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.4292, allocations: 5.062 kB / 0.7831 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.082e-05/0.4293, allocations: 16.88 kB / 0.7831 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003601/0.4296, allocations: 277.6 kB / 0.7833 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.909e-05/0.4297, allocations: 15.7 kB / 0.7834 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.774e-05/0.4297, allocations: 11.64 kB / 0.7834 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.971e-06/0.4297, allocations: 0 / 0.7834 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.4298, allocations: 35.97 kB / 0.7834 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.4298, allocations: 0 / 0.7834 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001313/0.4299, allocations: 42.17 kB / 0.7834 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.43, allocations: 51.41 kB / 0.7835 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.4301, allocations: 142 kB / 0.7836 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.4301, allocations: 26.31 kB / 0.7837 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.715e-05/0.4302, allocations: 96.62 kB / 0.7838 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.318e-06/0.4302, allocations: 5.281 kB / 0.7838 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.337e-05/0.4302, allocations: 30.09 kB / 0.7838 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.4303, allocations: 318.1 kB / 0.7841 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.942e-05/0.4304, allocations: 15.73 kB / 0.7841 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.621e-05/0.4304, allocations: 15.44 kB / 0.7841 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.767e-05/0.4305, allocations: 17.64 kB / 0.7841 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.4305, allocations: 0.7031 kB / 0.7841 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001118/0.4306, allocations: 64.41 kB / 0.7842 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.4306, allocations: 7.266 kB / 0.7842 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.4306, allocations: 1.375 kB / 0.7842 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.4306, allocations: 4 kB / 0.7842 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.426e-05/0.4307, allocations: 7.656 kB / 0.7842 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.4307, allocations: 0 / 0.7842 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.885e-05/0.4307, allocations: 9.281 kB / 0.7842 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.4307, allocations: 3.328 kB / 0.7842 GB, free: 11.4 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 7.401e-05/0.4308, allocations: 109 kB / 0.7843 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.698e-05/0.4308, allocations: 5.922 kB / 0.7843 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.07e-05/0.4308, allocations: 11.53 kB / 0.7843 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.4309, allocations: 0 / 0.7843 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.4309, allocations: 4 kB / 0.7844 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.4309, allocations: 5.734 kB / 0.7844 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002797/0.4312, allocations: 356.4 kB / 0.7847 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4312, allocations: 1.688 kB / 0.7847 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.007e-06/0.4312, allocations: 0 / 0.7847 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.4312, allocations: 1.156 kB / 0.7847 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.4312, allocations: 4.5 kB / 0.7847 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.4312, allocations: 0 / 0.7847 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4312, allocations: 1.5 kB / 0.7847 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.873e-05/0.4313, allocations: 67.38 kB / 0.7848 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.289e-05/0.4313, allocations: 81.67 kB / 0.7848 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.4314, allocations: 13.59 kB / 0.7849 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.223e-05/0.4314, allocations: 0.6094 kB / 0.7849 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.685e-05/0.4314, allocations: 3.531 kB / 0.7849 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-06/0.4314, allocations: 0 / 0.7849 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.197e-05/0.4315, allocations: 110.2 kB / 0.785 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.853e-06/0.4315, allocations: 0 / 0.785 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001941/0.4317, allocations: 13.3 kB / 0.785 GB, free: 10.6 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.000495/0.4322, allocations: 0.6187 MB / 0.7856 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001008/0.4323, allocations: 32.36 kB / 0.7856 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4323, allocations: 1.094 kB / 0.7856 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.864e-06/0.4323, allocations: 2.656 kB / 0.7856 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001299/0.4325, allocations: 2.203 kB / 0.7856 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00031/0.4328, allocations: 141 kB / 0.7858 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.4331, allocations: 0.6855 MB / 0.7864 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.078e-05/0.4331, allocations: 10.42 kB / 0.7864 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.114e-05/0.4331, allocations: 15.23 kB / 0.7865 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.4331, allocations: 0 / 0.7865 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02085/0.454, allocations: 1.618 MB / 0.788 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.847/8.301, allocations: 5.094 kB / 0.788 GB, free: 8.648 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Cryptographics.Validation.SHA1_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Cryptographics_Validation_SHA1.fmu > BuildingSystems_BuildingSystems.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1)