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.001057/0.001057, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 198.3 kB / 16.54 MB, free: 6.672 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: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002083/0.002083, allocations: 282.9 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9151/0.9151, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001639/0.001639, allocations: 95.44 kB / 0.5953 GB, free: 27.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1299, allocations: 86.98 MB / 0.6803 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Cryptographics.Validation.SHA1): time 0.001625/0.1315, allocations: 0.5276 MB / 0.6808 GB, free: 96 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003923/0.1319, allocations: 156.7 kB / 0.6809 GB, free: 15.94 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.667e-05/0.132, allocations: 0 / 0.6809 GB, free: 15.94 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.386e-05/0.132, allocations: 6.406 kB / 0.6809 GB, free: 15.93 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001594/0.1322, allocations: 7.938 kB / 0.681 GB, free: 15.93 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.909e-05/0.1322, allocations: 19.92 kB / 0.681 GB, free: 15.91 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.019e-05/0.1323, allocations: 31.84 kB / 0.681 GB, free: 15.88 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.286e-05/0.1323, allocations: 8.266 kB / 0.681 GB, free: 15.87 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.109e-05/0.1324, allocations: 7.938 kB / 0.681 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002929/0.1327, allocations: 312.4 kB / 0.6813 GB, free: 15.59 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.1327, allocations: 4 kB / 0.6813 GB, free: 15.59 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.377e-05/0.1328, allocations: 15.98 kB / 0.6813 GB, free: 15.57 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.292e-05/0.1328, allocations: 7.938 kB / 0.6813 GB, free: 15.56 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.215e-05/0.1328, allocations: 15.88 kB / 0.6814 GB, free: 15.55 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.685e-05/0.1329, allocations: 36.5 kB / 0.6814 GB, free: 15.51 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1329, allocations: 5.719 kB / 0.6814 GB, free: 15.51 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1329, allocations: 0 / 0.6814 GB, free: 15.51 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.1329, allocations: 0 / 0.6814 GB, free: 15.51 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.0002838/0.1332, allocations: 351.3 kB / 0.6817 GB, free: 15.12 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.1332, allocations: 8.906 kB / 0.6817 GB, free: 15.11 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.009e-05/0.1333, allocations: 38.75 kB / 0.6818 GB, free: 15.06 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.254e-05/0.1333, allocations: 1.656 kB / 0.6818 GB, free: 15.06 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.735e-05/0.1334, allocations: 176.2 kB / 0.682 GB, free: 14.85 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.1334, allocations: 1 kB / 0.682 GB, free: 14.85 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.1334, allocations: 4.375 kB / 0.682 GB, free: 14.85 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.1336, allocations: 58.86 kB / 0.682 GB, free: 14.79 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.1336, allocations: 0 / 0.682 GB, free: 14.79 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.1336, allocations: 4 kB / 0.682 GB, free: 14.78 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1336, allocations: 0.75 kB / 0.682 GB, free: 14.78 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.525e-05/0.1336, allocations: 15.98 kB / 0.682 GB, free: 14.77 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002855/0.1339, allocations: 280.8 kB / 0.6823 GB, free: 14.44 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.158e-05/0.134, allocations: 18.52 kB / 0.6823 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.6e-05/0.134, allocations: 12.92 kB / 0.6823 GB, free: 14.4 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.083e-06/0.134, allocations: 3.984 kB / 0.6823 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.134, allocations: 34.56 kB / 0.6824 GB, free: 14.35 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.134, allocations: 4 kB / 0.6824 GB, free: 14.35 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001195/0.1342, allocations: 33.7 kB / 0.6824 GB, free: 14.31 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.1342, allocations: 51.41 kB / 0.6825 GB, free: 14.25 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.1343, allocations: 139.6 kB / 0.6826 GB, free: 14.1 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.888e-06/0.1343, allocations: 25.7 kB / 0.6826 GB, free: 14.07 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.567e-05/0.1344, allocations: 104 kB / 0.6827 GB, free: 13.96 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.6e-06/0.1344, allocations: 0 / 0.6827 GB, free: 13.96 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.04e-05/0.1344, allocations: 29.64 kB / 0.6827 GB, free: 13.93 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.214e-05/0.1345, allocations: 318.9 kB / 0.683 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.528e-05/0.1346, allocations: 12 kB / 0.6831 GB, free: 13.6 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.167e-05/0.1346, allocations: 11.98 kB / 0.6831 GB, free: 13.59 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.385e-05/0.1346, allocations: 16.86 kB / 0.6831 GB, free: 13.57 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.1346, allocations: 0 / 0.6831 GB, free: 13.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001026/0.1348, allocations: 61.59 kB / 0.6831 GB, free: 13.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.1348, allocations: 4 kB / 0.6831 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1348, allocations: 0 / 0.6831 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.1348, allocations: 0 / 0.6831 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.301e-05/0.1348, allocations: 15.92 kB / 0.6832 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.1348, allocations: 4 kB / 0.6832 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.603e-05/0.1349, allocations: 7.844 kB / 0.6832 GB, free: 13.47 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.1349, allocations: 4 kB / 0.6832 GB, free: 13.46 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.509e-05/0.1349, allocations: 105.8 kB / 0.6833 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.677e-05/0.135, allocations: 4 kB / 0.6833 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.932e-05/0.135, allocations: 11.52 kB / 0.6833 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.135, allocations: 4 kB / 0.6833 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.135, allocations: 0 / 0.6833 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.135, allocations: 3.938 kB / 0.6833 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002415/0.1353, allocations: 358.7 kB / 0.6836 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1353, allocations: 3.938 kB / 0.6836 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.169e-06/0.1353, allocations: 3.984 kB / 0.6836 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.1353, allocations: 192 / 0.6836 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.034e-06/0.1353, allocations: 11.88 kB / 0.6837 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1353, allocations: 0 / 0.6837 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1353, allocations: 3.984 kB / 0.6837 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.571e-05/0.1354, allocations: 69.06 kB / 0.6837 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.109e-05/0.1354, allocations: 81.11 kB / 0.6838 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.1355, allocations: 7.922 kB / 0.6838 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.27e-05/0.1355, allocations: 0 / 0.6838 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.456e-05/0.1355, allocations: 0 / 0.6838 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-06/0.1355, allocations: 0 / 0.6838 GB, free: 12.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.088e-05/0.1356, allocations: 103.3 kB / 0.6839 GB, free: 12.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1356, allocations: 0 / 0.6839 GB, free: 12.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001911/0.1358, allocations: 16.03 kB / 0.6839 GB, free: 12.59 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.000439/0.1362, allocations: 0.6248 MB / 0.6845 GB, free: 11.94 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.997e-05/0.1363, allocations: 31.92 kB / 0.6846 GB, free: 11.91 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1363, allocations: 0 / 0.6846 GB, free: 11.91 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.395e-06/0.1363, allocations: 7.938 kB / 0.6846 GB, free: 11.9 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000125/0.1365, allocations: 1.891 kB / 0.6846 GB, free: 11.9 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002808/0.1368, allocations: 144.2 kB / 0.6847 GB, free: 11.72 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001911/0.137, allocations: 0.6846 MB / 0.6854 GB, free: 11.01 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.704e-05/0.137, allocations: 12.03 kB / 0.6854 GB, free: 11 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.866e-05/0.137, allocations: 19.42 kB / 0.6854 GB, free: 10.98 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.137, allocations: 0 / 0.6854 GB, free: 10.98 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01581/0.1528, allocations: 1.566 MB / 0.6869 GB, free: 9.496 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.835/6.988, allocations: 9.719 kB / 0.6869 GB, free: 9.492 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 & 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)