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.001329/0.001329, 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.00134/0.00134, allocations: 194.1 kB / 16.53 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.309/1.309, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001989/0.001989, allocations: 295.1 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9059/0.9059, allocations: 169.3 MB / 0.4982 GB, free: 13.92 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001725/0.001725, allocations: 95.67 kB / 0.5953 GB, free: 27.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1667, allocations: 86.98 MB / 0.6803 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Cryptographics.Validation.SHA1): time 0.002497/0.1693, allocations: 0.5223 MB / 0.6808 GB, free: 52 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004894/0.1698, allocations: 148.1 kB / 0.6809 GB, free: 15.9 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.29e-05/0.1698, allocations: 0 / 0.6809 GB, free: 15.9 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.266e-05/0.1699, allocations: 7.938 kB / 0.6809 GB, free: 15.89 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002143/0.1701, allocations: 7.938 kB / 0.6809 GB, free: 15.89 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.835e-05/0.1702, allocations: 27.91 kB / 0.681 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.453e-05/0.1703, allocations: 27.86 kB / 0.681 GB, free: 15.83 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.226e-05/0.1704, allocations: 4.281 kB / 0.681 GB, free: 15.83 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.35e-05/0.1704, allocations: 15.91 kB / 0.681 GB, free: 15.81 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003901/0.1708, allocations: 318.5 kB / 0.6813 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.1709, allocations: 0 / 0.6813 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.125e-05/0.171, allocations: 16 kB / 0.6813 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.134e-05/0.171, allocations: 15.86 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.321e-05/0.171, allocations: 19.86 kB / 0.6814 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.1712, allocations: 31.91 kB / 0.6814 GB, free: 15.45 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1712, allocations: 0 / 0.6814 GB, free: 15.45 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.1712, allocations: 0 / 0.6814 GB, free: 15.45 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.054e-06/0.1712, allocations: 0 / 0.6814 GB, free: 15.45 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.0004506/0.1717, allocations: 353.2 kB / 0.6817 GB, free: 15.06 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.1717, allocations: 12.03 kB / 0.6817 GB, free: 15.05 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.426e-05/0.1718, allocations: 34.75 kB / 0.6818 GB, free: 15.01 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/0.1718, allocations: 4.938 kB / 0.6818 GB, free: 15 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.172, allocations: 180.2 kB / 0.682 GB, free: 14.79 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.172, allocations: 4.375 kB / 0.682 GB, free: 14.79 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.172, allocations: 384 / 0.682 GB, free: 14.79 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.1722, allocations: 53.62 kB / 0.682 GB, free: 14.73 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.1722, allocations: 0 / 0.682 GB, free: 14.73 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.1722, allocations: 0 / 0.682 GB, free: 14.73 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1722, allocations: 0 / 0.682 GB, free: 14.73 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.747e-05/0.1723, allocations: 19.98 kB / 0.682 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004048/0.1727, allocations: 280.8 kB / 0.6823 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.169e-05/0.1728, allocations: 26.52 kB / 0.6823 GB, free: 14.35 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.656e-05/0.1728, allocations: 4.859 kB / 0.6823 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.164e-06/0.1728, allocations: 0 / 0.6823 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.1728, allocations: 30.56 kB / 0.6824 GB, free: 14.3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.452e-06/0.1728, allocations: 4.062 kB / 0.6824 GB, free: 14.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001429/0.173, allocations: 33.64 kB / 0.6824 GB, free: 14.26 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.173, allocations: 55.53 kB / 0.6824 GB, free: 14.19 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.1731, allocations: 143.5 kB / 0.6826 GB, free: 14.04 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.1732, allocations: 25.7 kB / 0.6826 GB, free: 14.01 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.59e-05/0.1732, allocations: 104 kB / 0.6827 GB, free: 13.91 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.16e-06/0.1732, allocations: 0 / 0.6827 GB, free: 13.91 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.114e-05/0.1733, allocations: 25.7 kB / 0.6827 GB, free: 13.88 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.812e-05/0.1734, allocations: 322.8 kB / 0.683 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.683e-05/0.1734, allocations: 7.984 kB / 0.683 GB, free: 13.54 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.362e-05/0.1734, allocations: 16 kB / 0.6831 GB, free: 13.53 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.06e-05/0.1735, allocations: 20.84 kB / 0.6831 GB, free: 13.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1735, allocations: 0 / 0.6831 GB, free: 13.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001185/0.1736, allocations: 65.72 kB / 0.6831 GB, free: 13.43 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.1736, allocations: 4 kB / 0.6832 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1737, allocations: 11.94 kB / 0.6832 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.1737, allocations: 0 / 0.6832 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.091e-05/0.1737, allocations: 0 / 0.6832 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.1737, allocations: 0 / 0.6832 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.202e-05/0.1737, allocations: 11.84 kB / 0.6832 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.1738, allocations: 4 kB / 0.6832 GB, free: 13.4 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 7.123e-05/0.1738, allocations: 113.8 kB / 0.6833 GB, free: 13.28 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.1739, allocations: 3.984 kB / 0.6833 GB, free: 13.28 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.117e-05/0.1739, allocations: 7.531 kB / 0.6833 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1739, allocations: 0 / 0.6833 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1739, allocations: 0 / 0.6833 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1739, allocations: 3.938 kB / 0.6833 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002817/0.1742, allocations: 362.7 kB / 0.6836 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1742, allocations: 0 / 0.6836 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.419e-06/0.1742, allocations: 0 / 0.6836 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.123e-06/0.1742, allocations: 7.984 kB / 0.6837 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.1743, allocations: 7.875 kB / 0.6837 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1743, allocations: 0 / 0.6837 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1743, allocations: 0 / 0.6837 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.903e-05/0.1744, allocations: 65.03 kB / 0.6837 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.199e-05/0.1744, allocations: 81.17 kB / 0.6838 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.1744, allocations: 3.938 kB / 0.6838 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.373e-05/0.1745, allocations: 3.938 kB / 0.6838 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.129e-05/0.1745, allocations: 4 kB / 0.6838 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-06/0.1745, allocations: 0 / 0.6838 GB, free: 12.64 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.522e-05/0.1746, allocations: 103.3 kB / 0.6839 GB, free: 12.54 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1746, allocations: 0 / 0.6839 GB, free: 12.54 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002108/0.1748, allocations: 15.98 kB / 0.6839 GB, free: 12.53 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.000509/0.1753, allocations: 0.617 MB / 0.6845 GB, free: 11.89 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001039/0.1754, allocations: 35.81 kB / 0.6846 GB, free: 11.86 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1754, allocations: 4.031 kB / 0.6846 GB, free: 11.86 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.947e-06/0.1754, allocations: 4 kB / 0.6846 GB, free: 11.85 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001524/0.1756, allocations: 3.984 kB / 0.6846 GB, free: 11.85 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003322/0.1759, allocations: 138.7 kB / 0.6847 GB, free: 11.67 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/0.1762, allocations: 0.6807 MB / 0.6854 GB, free: 10.96 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.994e-05/0.1762, allocations: 20.08 kB / 0.6854 GB, free: 10.95 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.034e-05/0.1762, allocations: 15.44 kB / 0.6854 GB, free: 10.93 MB / 494.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1762, allocations: 0 / 0.6854 GB, free: 10.93 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02638/0.2026, allocations: 1.578 MB / 0.6869 GB, free: 9.438 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.138/8.341, allocations: 1.172 kB / 0.6869 GB, free: 9.438 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)