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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7059/0.7059, allocations: 141.8 MB / 149.1 MB, free: 14.3 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 179.5 kB / 182 MB, free: 10.82 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 221.3 MB / 436 MB, free: 3.352 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 98.52 kB / 0.507 GB, free: 18.29 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001905/0.001905, allocations: 261.8 kB / 0.5885 GB, free: 4.805 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 6.993e-06/7.113e-06, allocations: 0 / 0.6759 GB, free: 137.2 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.1957, allocations: 82.77 MB / 0.7567 GB, free: 84.98 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1333/0.3291, allocations: 107.6 MB / 0.8618 GB, free: 9.223 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002603/0.3294, allocations: 67.97 kB / 0.8619 GB, free: 9.156 MB / 0.5419 GB Notification: Performance of FrontEnd: time 0.004104/0.3335, allocations: 1.775 MB / 0.8636 GB, free: 7.398 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.3336, allocations: 4 kB / 0.8636 GB, free: 7.395 MB / 0.5419 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.000294/0.3339, allocations: 334.4 kB / 0.8639 GB, free: 7.023 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.3339, allocations: 8.031 kB / 0.8639 GB, free: 7.016 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.319e-05/0.334, allocations: 7.906 kB / 0.8639 GB, free: 7.008 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.3341, allocations: 167 kB / 0.8641 GB, free: 6.805 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.3341, allocations: 0 / 0.8641 GB, free: 6.805 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.3342, allocations: 4 kB / 0.8641 GB, free: 6.801 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.266e-05/0.3343, allocations: 16 kB / 0.8641 GB, free: 6.785 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.619e-05/0.3343, allocations: 51.45 kB / 0.8642 GB, free: 6.73 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.3344, allocations: 0 / 0.8642 GB, free: 6.73 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.3344, allocations: 0 / 0.8642 GB, free: 6.73 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.3344, allocations: 0 / 0.8642 GB, free: 6.73 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000575/0.335, allocations: 0.6279 MB / 0.8648 GB, free: 5.973 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 3.659e-05/0.335, allocations: 22.48 kB / 0.8648 GB, free: 5.941 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.059e-05/0.3351, allocations: 12.92 kB / 0.8648 GB, free: 5.926 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 7.685e-06/0.3351, allocations: 0 / 0.8648 GB, free: 5.926 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.3351, allocations: 30.56 kB / 0.8649 GB, free: 5.887 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.3351, allocations: 0 / 0.8649 GB, free: 5.887 MB / 0.5419 GB Notification: Performance of matching and sorting (n=1): time 0.0001468/0.3352, allocations: 37.64 kB / 0.8649 GB, free: 5.844 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.3353, allocations: 55.31 kB / 0.8649 GB, free: 5.777 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.3354, allocations: 125 kB / 0.8651 GB, free: 5.648 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.3354, allocations: 29.73 kB / 0.8651 GB, free: 5.613 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 4.129e-05/0.3355, allocations: 88.03 kB / 0.8652 GB, free: 5.523 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 6.913e-06/0.3355, allocations: 8 kB / 0.8652 GB, free: 5.516 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.3355, allocations: 0 / 0.8652 GB, free: 5.516 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.3356, allocations: 314.8 kB / 0.8655 GB, free: 5.199 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.134e-05/0.3356, allocations: 11.98 kB / 0.8655 GB, free: 5.188 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.007e-05/0.3357, allocations: 8 kB / 0.8655 GB, free: 5.18 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.3358, allocations: 23.97 kB / 0.8655 GB, free: 5.156 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3358, allocations: 0 / 0.8655 GB, free: 5.156 MB / 0.5419 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002052/0.336, allocations: 77.52 kB / 0.8656 GB, free: 5.074 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.3361, allocations: 4 kB / 0.8656 GB, free: 5.07 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.3361, allocations: 0 / 0.8656 GB, free: 5.07 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.3361, allocations: 4 kB / 0.8656 GB, free: 5.066 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.533e-05/0.3361, allocations: 3.984 kB / 0.8656 GB, free: 5.062 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.3361, allocations: 0 / 0.8656 GB, free: 5.062 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.594e-05/0.3362, allocations: 3.938 kB / 0.8656 GB, free: 5.059 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.3362, allocations: 4 kB / 0.8656 GB, free: 5.055 MB / 0.5419 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 (cmpAll,cmp1,cmp2,cmp3,cmp4,cmp5) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.097e-05/0.3363, allocations: 105 kB / 0.8657 GB, free: 4.945 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.118e-05/0.3363, allocations: 11.91 kB / 0.8657 GB, free: 4.934 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.247e-05/0.3363, allocations: 3.656 kB / 0.8657 GB, free: 4.926 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.3363, allocations: 0 / 0.8657 GB, free: 4.926 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.3364, allocations: 4 kB / 0.8657 GB, free: 4.922 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.3364, allocations: 4 kB / 0.8657 GB, free: 4.918 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002558/0.3366, allocations: 339.2 kB / 0.8661 GB, free: 4.539 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.3366, allocations: 4 kB / 0.8661 GB, free: 4.535 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.787e-06/0.3367, allocations: 0 / 0.8661 GB, free: 4.535 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.3367, allocations: 32 / 0.8661 GB, free: 4.535 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.3367, allocations: 4 kB / 0.8661 GB, free: 4.531 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3367, allocations: 0 / 0.8661 GB, free: 4.531 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.3367, allocations: 0 / 0.8661 GB, free: 4.531 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.998e-05/0.3368, allocations: 68.94 kB / 0.8661 GB, free: 4.445 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.676e-05/0.3368, allocations: 81.09 kB / 0.8662 GB, free: 4.348 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.3368, allocations: 4 kB / 0.8662 GB, free: 4.344 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.5e-05/0.3369, allocations: 11.83 kB / 0.8662 GB, free: 4.332 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.143e-05/0.3369, allocations: 4.031 kB / 0.8662 GB, free: 4.328 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-06/0.3369, allocations: 0 / 0.8662 GB, free: 4.328 MB / 0.5419 GB Notification: Performance of sort global known variables: time 6.023e-05/0.337, allocations: 106.4 kB / 0.8663 GB, free: 4.227 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0001996/0.3372, allocations: 12 kB / 0.8663 GB, free: 4.215 MB / 0.5419 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002874/0.3375, allocations: 129 kB / 0.8665 GB, free: 4.09 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 8.636e-05/0.3376, allocations: 20 kB / 0.8665 GB, free: 4.07 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3376, allocations: 0 / 0.8665 GB, free: 4.07 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 9.187e-06/0.3376, allocations: 4 kB / 0.8665 GB, free: 4.066 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001067/0.3377, allocations: 7.984 kB / 0.8665 GB, free: 4.059 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002387/0.3379, allocations: 63.72 kB / 0.8666 GB, free: 3.973 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002585/0.3382, allocations: 0.6997 MB / 0.8672 GB, free: 3.246 MB / 0.5419 GB Notification: Performance of SimCode: time 2.31e-07/0.3382, allocations: 4.062 kB / 0.8672 GB, free: 3.242 MB / 0.5419 GB Notification: Performance of Templates: time 0.002719/0.3409, allocations: 0.6282 MB / 0.8679 GB, free: 2.621 MB / 0.5419 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)