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: translateModel(BuildingSystems.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Cryptographics.Validation.SHA1") translateModel(BuildingSystems.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Cryptographics.Validation.SHA1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 107.2 kB / 16.41 MB, free: 6.461 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.001244/0.001244, allocations: 187 kB / 17.34 MB, free: 5.723 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.283/1.283, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002231/0.002231, allocations: 277.3 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9333/0.9333, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 92.09 kB / 0.6821 GB, free: 7.012 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4057/0.4077, allocations: 86.98 MB / 0.767 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Cryptographics.Validation.SHA1): time 0.001682/0.4094, allocations: 0.5261 MB / 0.7675 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004238/0.4099, allocations: 156.1 kB / 0.7677 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.641e-05/0.4099, allocations: 4 kB / 0.7677 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.569e-05/0.4099, allocations: 7.938 kB / 0.7677 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000177/0.4101, allocations: 3.938 kB / 0.7677 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 7.456e-05/0.4102, allocations: 27.91 kB / 0.7677 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.893e-05/0.4103, allocations: 23.92 kB / 0.7677 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.468e-05/0.4103, allocations: 4 kB / 0.7678 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.624e-05/0.4104, allocations: 11.92 kB / 0.7678 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000355/0.4107, allocations: 319.7 kB / 0.7681 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.4107, allocations: 0 / 0.7681 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.889e-05/0.4108, allocations: 16 kB / 0.7681 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.051e-05/0.4108, allocations: 0 / 0.7681 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.718e-05/0.4109, allocations: 27.84 kB / 0.7681 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.907e-05/0.411, allocations: 35.84 kB / 0.7681 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.411, allocations: 0 / 0.7681 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.443e-06/0.411, allocations: 0 / 0.7681 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.411, allocations: 0 / 0.7681 GB, free: 2.836 MB / 0.5294 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.0003138/0.4113, allocations: 359 kB / 0.7685 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.4113, allocations: 8.031 kB / 0.7685 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/0.4114, allocations: 4.938 kB / 0.7685 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.4115, allocations: 170.8 kB / 0.7687 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.4115, allocations: 8.375 kB / 0.7687 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.345e-06/0.4115, allocations: 384 / 0.7687 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.4116, allocations: 53.8 kB / 0.7687 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-06/0.4117, allocations: 0 / 0.7687 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.4117, allocations: 4 kB / 0.7687 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.4117, allocations: 0 / 0.7687 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.481e-05/0.4117, allocations: 19.98 kB / 0.7687 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003143/0.412, allocations: 276.7 kB / 0.769 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.617e-05/0.4121, allocations: 26.56 kB / 0.769 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.45e-05/0.4121, allocations: 4.859 kB / 0.769 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.266e-06/0.4121, allocations: 7.984 kB / 0.769 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.4121, allocations: 30.56 kB / 0.7691 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.001e-06/0.4121, allocations: 64 / 0.7691 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001192/0.4123, allocations: 41.55 kB / 0.7691 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.4123, allocations: 51.41 kB / 0.7692 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.4124, allocations: 141.3 kB / 0.7693 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.4124, allocations: 25.7 kB / 0.7693 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.812e-05/0.4125, allocations: 96.03 kB / 0.7694 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.174e-06/0.4125, allocations: 4 kB / 0.7694 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-05/0.4126, allocations: 29.61 kB / 0.7694 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.595e-05/0.4127, allocations: 322.7 kB / 0.7698 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.465e-05/0.4127, allocations: 11.98 kB / 0.7698 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.244e-05/0.4127, allocations: 12 kB / 0.7698 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.648e-05/0.4128, allocations: 28.92 kB / 0.7698 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4128, allocations: 0 / 0.7698 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001057/0.4129, allocations: 57.62 kB / 0.7699 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.4129, allocations: 11.98 kB / 0.7699 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.4129, allocations: 0 / 0.7699 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.4129, allocations: 0 / 0.7699 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.985e-05/0.4129, allocations: 0 / 0.7699 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.4129, allocations: 0 / 0.7699 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.902e-05/0.413, allocations: 15.84 kB / 0.7699 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.413, allocations: 3.938 kB / 0.7699 GB, free: 0.832 MB / 0.5294 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 6.724e-05/0.4131, allocations: 113.8 kB / 0.77 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.434e-05/0.4131, allocations: 0 / 0.77 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.227e-05/0.4131, allocations: 15.52 kB / 0.77 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.4131, allocations: 0 / 0.77 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.4131, allocations: 0 / 0.77 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.4131, allocations: 0 / 0.77 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002793/0.4134, allocations: 370.5 kB / 0.7704 GB, free: 280 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4134, allocations: 0 / 0.7704 GB, free: 280 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.389e-06/0.4134, allocations: 4.031 kB / 0.7704 GB, free: 276 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.4135, allocations: 4 kB / 0.7704 GB, free: 272 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.689e-06/0.4135, allocations: 0 / 0.7704 GB, free: 272 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.4135, allocations: 3.938 kB / 0.7704 GB, free: 268 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4135, allocations: 0 / 0.7704 GB, free: 268 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.844e-05/0.4135, allocations: 57.14 kB / 0.7704 GB, free: 192 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.396e-05/0.4136, allocations: 85 kB / 0.7705 GB, free: 88 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.4136, allocations: 3.938 kB / 0.7705 GB, free: 84 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.415e-05/0.4136, allocations: 7.969 kB / 0.7705 GB, free: 76 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.828e-05/0.4136, allocations: 4 kB / 0.7705 GB, free: 72 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.4136, allocations: 0 / 0.7705 GB, free: 72 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.348e-05/0.4137, allocations: 103.3 kB / 0.7706 GB, free: 15.97 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4137, allocations: 0 / 0.7706 GB, free: 15.97 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000191/0.4139, allocations: 8 kB / 0.7706 GB, free: 15.96 MB / 0.545 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.0002142/0.4141, allocations: 125.8 kB / 0.7708 GB, free: 15.84 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.868e-05/0.4142, allocations: 35.92 kB / 0.7708 GB, free: 15.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4143, allocations: 0 / 0.7708 GB, free: 15.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.943e-06/0.4143, allocations: 0 / 0.7708 GB, free: 15.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.4144, allocations: 10 kB / 0.7708 GB, free: 15.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002014/0.4146, allocations: 130.8 kB / 0.7709 GB, free: 15.64 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002168/0.4148, allocations: 0.6846 MB / 0.7716 GB, free: 14.93 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.289e-05/0.4149, allocations: 11.44 kB / 0.7716 GB, free: 14.91 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.4149, allocations: 0 / 0.7716 GB, free: 14.91 MB / 0.545 GB Notification: Performance of Templates: time 0.002186/0.4171, allocations: 0.9614 MB / 0.7725 GB, free: 13.96 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Cryptographics.Validation.SHA1.makefile (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 & ./BuildingSystems_BuildingSystems.Utilities.Cryptographics.Validation.SHA1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1)