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.001185/0.001185, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001192/0.001192, allocations: 199.3 kB / 16.14 MB, free: 6.664 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.225/1.225, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001942/0.001942, allocations: 286.5 kB / 290.2 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8825/0.8825, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 96.78 kB / 0.5946 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1324, allocations: 86.98 MB / 0.6795 GB, free: 1.074 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Cryptographics.Validation.SHA1): time 0.001483/0.1339, allocations: 0.592 MB / 0.6801 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003554/0.1343, allocations: 156.1 kB / 0.6803 GB, free: 344 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.18e-05/0.1343, allocations: 0 / 0.6803 GB, free: 344 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.541e-05/0.1343, allocations: 0 / 0.6803 GB, free: 344 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001408/0.1345, allocations: 4.562 kB / 0.6803 GB, free: 340 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.345e-05/0.1345, allocations: 27.06 kB / 0.6803 GB, free: 316 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 4.2e-05/0.1346, allocations: 27.86 kB / 0.6803 GB, free: 288 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.299e-05/0.1346, allocations: 4.281 kB / 0.6803 GB, free: 284 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.956e-05/0.1346, allocations: 11.94 kB / 0.6803 GB, free: 272 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003175/0.135, allocations: 316.9 kB / 0.6806 GB, free: 15.99 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.135, allocations: 0 / 0.6806 GB, free: 15.99 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.869e-05/0.135, allocations: 15.98 kB / 0.6807 GB, free: 15.97 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.678e-05/0.1351, allocations: 13.38 kB / 0.6807 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.194e-05/0.1351, allocations: 15.86 kB / 0.6807 GB, free: 15.95 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.277e-05/0.1352, allocations: 35.89 kB / 0.6807 GB, free: 15.91 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.1352, allocations: 0 / 0.6807 GB, free: 15.91 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.62e-07/0.1352, allocations: 0.6562 kB / 0.6807 GB, free: 15.91 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.397e-06/0.1352, allocations: 3.938 kB / 0.6807 GB, free: 15.91 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.0002652/0.1355, allocations: 353.8 kB / 0.6811 GB, free: 15.52 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.1355, allocations: 16.89 kB / 0.6811 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.297e-05/0.1355, allocations: 30.75 kB / 0.6811 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.171e-05/0.1356, allocations: 1.562 kB / 0.6811 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.866e-05/0.1357, allocations: 176.1 kB / 0.6813 GB, free: 15.25 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.1357, allocations: 5.875 kB / 0.6813 GB, free: 15.25 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-06/0.1357, allocations: 4.375 kB / 0.6813 GB, free: 15.25 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.1358, allocations: 57.61 kB / 0.6813 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.53e-06/0.1358, allocations: 0.5625 kB / 0.6813 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.1358, allocations: 0 / 0.6813 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-06/0.1358, allocations: 7.938 kB / 0.6813 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.235e-05/0.1359, allocations: 15.98 kB / 0.6814 GB, free: 15.16 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002774/0.1362, allocations: 276.8 kB / 0.6816 GB, free: 14.84 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.219e-05/0.1362, allocations: 18.58 kB / 0.6816 GB, free: 14.81 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.413e-05/0.1362, allocations: 8.859 kB / 0.6816 GB, free: 14.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.581e-06/0.1362, allocations: 0 / 0.6816 GB, free: 14.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.1363, allocations: 34.56 kB / 0.6817 GB, free: 14.76 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.1363, allocations: 0 / 0.6817 GB, free: 14.76 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001126/0.1364, allocations: 45.62 kB / 0.6817 GB, free: 14.71 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.1364, allocations: 51.41 kB / 0.6818 GB, free: 14.64 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.956e-05/0.1365, allocations: 139.7 kB / 0.6819 GB, free: 14.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.1365, allocations: 25.7 kB / 0.6819 GB, free: 14.47 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.807e-05/0.1366, allocations: 95.98 kB / 0.682 GB, free: 14.37 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.249e-06/0.1366, allocations: 3.984 kB / 0.682 GB, free: 14.37 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-05/0.1366, allocations: 25.84 kB / 0.6821 GB, free: 14.34 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.708e-05/0.1367, allocations: 322.8 kB / 0.6824 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.282e-05/0.1367, allocations: 12 kB / 0.6824 GB, free: 14 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.08e-05/0.1368, allocations: 11.98 kB / 0.6824 GB, free: 13.99 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.009e-05/0.1368, allocations: 12.86 kB / 0.6824 GB, free: 13.97 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1368, allocations: 4 kB / 0.6824 GB, free: 13.97 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.823e-05/0.1369, allocations: 69.52 kB / 0.6825 GB, free: 13.89 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.1369, allocations: 4 kB / 0.6825 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.1369, allocations: 0 / 0.6825 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.216e-06/0.137, allocations: 4 kB / 0.6825 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.712e-05/0.137, allocations: 7.984 kB / 0.6825 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.137, allocations: 3.984 kB / 0.6825 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.371e-05/0.137, allocations: 7.844 kB / 0.6825 GB, free: 13.87 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.137, allocations: 7.938 kB / 0.6825 GB, free: 13.86 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.801e-05/0.1371, allocations: 113.8 kB / 0.6826 GB, free: 13.74 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.1371, allocations: 0 / 0.6826 GB, free: 13.74 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.616e-05/0.1371, allocations: 7.531 kB / 0.6826 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.1371, allocations: 192 / 0.6826 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1371, allocations: 8 kB / 0.6826 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.1372, allocations: 7.922 kB / 0.6826 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002242/0.1374, allocations: 358.7 kB / 0.683 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1374, allocations: 3.938 kB / 0.683 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.527e-06/0.1374, allocations: 0 / 0.683 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.1374, allocations: 0 / 0.683 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.1374, allocations: 3.938 kB / 0.683 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1374, allocations: 3.984 kB / 0.683 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1374, allocations: 8.031 kB / 0.683 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.339e-05/0.1375, allocations: 57.05 kB / 0.683 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.056e-05/0.1375, allocations: 81.11 kB / 0.6831 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.1375, allocations: 3.938 kB / 0.6831 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.227e-05/0.1376, allocations: 0 / 0.6831 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.881e-05/0.1376, allocations: 7.922 kB / 0.6831 GB, free: 13.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-06/0.1376, allocations: 4 kB / 0.6831 GB, free: 13.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.116e-05/0.1376, allocations: 103.3 kB / 0.6832 GB, free: 13 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1376, allocations: 0 / 0.6832 GB, free: 13 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001992/0.1379, allocations: 12 kB / 0.6832 GB, free: 12.98 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.0003825/0.1382, allocations: 0.6192 MB / 0.6839 GB, free: 12.34 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.666e-05/0.1383, allocations: 31.86 kB / 0.6839 GB, free: 12.31 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1383, allocations: 0 / 0.6839 GB, free: 12.31 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.603e-06/0.1383, allocations: 0 / 0.6839 GB, free: 12.31 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001259/0.1385, allocations: 8 kB / 0.6839 GB, free: 12.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002769/0.1388, allocations: 164.3 kB / 0.684 GB, free: 12.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001941/0.139, allocations: 0.6848 MB / 0.6847 GB, free: 11.39 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.654e-05/0.139, allocations: 8.125 kB / 0.6847 GB, free: 11.38 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.802e-05/0.139, allocations: 15.44 kB / 0.6847 GB, free: 11.37 MB / 494.1 MB Notification: Performance of SimCode: time 2.9e-07/0.139, allocations: 0 / 0.6847 GB, free: 11.37 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2512/0.3903, allocations: 1.467 MB / 0.6862 GB, free: 10.02 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001849/0.3905, allocations: 251.8 kB / 0.6864 GB, free: 9.77 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.69/2.081, allocations: 4 kB / 0.6864 GB, free: 9.766 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)