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.005915/0.005915, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001408/0.001408, allocations: 202 kB / 16.68 MB, free: 5.969 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001956/0.001956, allocations: 278.6 kB / 290.8 MB, free: 1.957 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9417/0.9417, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 99.84 kB / 0.6814 GB, free: 15.55 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1582, allocations: 86.97 MB / 0.7664 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Cryptographics.Validation.SHA1): time 0.00146/0.1597, allocations: 0.5347 MB / 0.7669 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003868/0.1601, allocations: 140.1 kB / 0.767 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.642e-05/0.1601, allocations: 4 kB / 0.767 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.491e-05/0.1602, allocations: 3.938 kB / 0.767 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001797/0.1603, allocations: 11.92 kB / 0.767 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 6.588e-05/0.1604, allocations: 19.92 kB / 0.7671 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.01e-05/0.1605, allocations: 31.84 kB / 0.7671 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.66e-05/0.1605, allocations: 4 kB / 0.7671 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.44e-05/0.1606, allocations: 15.92 kB / 0.7671 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003421/0.1609, allocations: 325.3 kB / 0.7674 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.1609, allocations: 0 / 0.7674 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.137e-05/0.161, allocations: 16 kB / 0.7674 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.392e-05/0.161, allocations: 7.938 kB / 0.7674 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.463e-05/0.1611, allocations: 15.92 kB / 0.7674 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001035/0.1612, allocations: 35.78 kB / 0.7675 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1612, allocations: 0 / 0.7675 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1612, allocations: 0 / 0.7675 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.1612, allocations: 0 / 0.7675 GB, free: 7.379 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.0003311/0.1615, allocations: 359.2 kB / 0.7678 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.1616, allocations: 8.031 kB / 0.7678 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.686e-05/0.1616, allocations: 8.891 kB / 0.7678 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.1617, allocations: 176.2 kB / 0.768 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.1617, allocations: 4.375 kB / 0.768 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.1618, allocations: 384 / 0.768 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.1619, allocations: 57.8 kB / 0.7681 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.1619, allocations: 0 / 0.7681 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.1619, allocations: 0 / 0.7681 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.1619, allocations: 3.984 kB / 0.7681 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.7e-05/0.162, allocations: 23.98 kB / 0.7681 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003295/0.1623, allocations: 268.9 kB / 0.7684 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.269e-05/0.1624, allocations: 22.52 kB / 0.7684 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.471e-05/0.1624, allocations: 8.844 kB / 0.7684 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.332e-06/0.1624, allocations: 0 / 0.7684 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.1624, allocations: 30.56 kB / 0.7684 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 2.254e-06/0.1624, allocations: 4.062 kB / 0.7684 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001261/0.1626, allocations: 45.53 kB / 0.7685 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.1626, allocations: 51.41 kB / 0.7685 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.1627, allocations: 141.8 kB / 0.7686 GB, free: 6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.1627, allocations: 25.7 kB / 0.7687 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.332e-05/0.1628, allocations: 100 kB / 0.7688 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.037e-06/0.1628, allocations: 0 / 0.7688 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.223e-05/0.1628, allocations: 25.7 kB / 0.7688 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.163, allocations: 326.9 kB / 0.7691 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.314e-05/0.163, allocations: 4 kB / 0.7691 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.605e-05/0.163, allocations: 15.98 kB / 0.7691 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.527e-05/0.1631, allocations: 20.98 kB / 0.7691 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1631, allocations: 0 / 0.7691 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001036/0.1632, allocations: 65.58 kB / 0.7692 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.1632, allocations: 9.875 kB / 0.7692 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.1632, allocations: 0 / 0.7692 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.1632, allocations: 3.984 kB / 0.7692 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.895e-05/0.1632, allocations: 0 / 0.7692 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.1633, allocations: 4 kB / 0.7692 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.671e-05/0.1633, allocations: 7.938 kB / 0.7692 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.1633, allocations: 3.938 kB / 0.7692 GB, free: 5.367 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.247e-05/0.1634, allocations: 113.8 kB / 0.7693 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.1634, allocations: 3.953 kB / 0.7693 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.986e-05/0.1634, allocations: 11.52 kB / 0.7694 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.1634, allocations: 0 / 0.7694 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1634, allocations: 0 / 0.7694 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.1635, allocations: 0 / 0.7694 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/0.1637, allocations: 362.7 kB / 0.7697 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1637, allocations: 3.984 kB / 0.7697 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.08e-06/0.1637, allocations: 4 kB / 0.7697 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.1637, allocations: 4 kB / 0.7697 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-06/0.1637, allocations: 0 / 0.7697 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.1637, allocations: 3.938 kB / 0.7697 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1638, allocations: 0 / 0.7697 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.059e-05/0.1638, allocations: 61.12 kB / 0.7698 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.751e-05/0.1639, allocations: 81.06 kB / 0.7698 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.1639, allocations: 3.984 kB / 0.7699 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.394e-05/0.1639, allocations: 11.81 kB / 0.7699 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.126e-05/0.1639, allocations: 4 kB / 0.7699 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.1639, allocations: 4.062 kB / 0.7699 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.828e-05/0.164, allocations: 105.7 kB / 0.77 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.164, allocations: 0 / 0.77 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001996/0.1642, allocations: 19.97 kB / 0.77 GB, free: 4.48 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.0002185/0.1644, allocations: 118.7 kB / 0.7701 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.077e-05/0.1645, allocations: 23.98 kB / 0.7701 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1645, allocations: 0 / 0.7701 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.444e-06/0.1646, allocations: 4 kB / 0.7701 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001343/0.1647, allocations: 6.344 kB / 0.7701 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001884/0.1649, allocations: 119.6 kB / 0.7703 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.1651, allocations: 0.6846 MB / 0.7709 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.584e-05/0.1652, allocations: 4 kB / 0.7709 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.697e-05/0.1652, allocations: 11.44 kB / 0.7709 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of SimCode: time 2.21e-07/0.1652, allocations: 0 / 0.7709 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of Templates: time 0.00226/0.1674, allocations: 0.5421 MB / 0.7715 GB, free: 2.926 MB / 0.5606 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)