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.004799/0.004799, allocations: 101.6 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.001134/0.001134, allocations: 196.3 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.235/1.235, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002101/0.002101, allocations: 292.2 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8728/0.8728, allocations: 169.3 MB / 0.4983 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00178/0.00178, allocations: 92.28 kB / 0.6809 GB, free: 7.504 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3975/0.3993, allocations: 86.97 MB / 0.7659 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Cryptographics.Validation.SHA1): time 0.001622/0.401, allocations: 0.5343 MB / 0.7664 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004278/0.4014, allocations: 156.1 kB / 0.7665 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.819e-05/0.4015, allocations: 0 / 0.7665 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.568e-05/0.4015, allocations: 3.938 kB / 0.7665 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001904/0.4017, allocations: 7.922 kB / 0.7666 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 7.875e-05/0.4018, allocations: 19.92 kB / 0.7666 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.348e-05/0.4019, allocations: 35.91 kB / 0.7666 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.416e-05/0.4019, allocations: 6.812 kB / 0.7666 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.205e-05/0.4019, allocations: 4 kB / 0.7666 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000363/0.4023, allocations: 321.2 kB / 0.7669 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.4023, allocations: 7.938 kB / 0.7669 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.874e-05/0.4024, allocations: 23.97 kB / 0.767 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.222e-05/0.4024, allocations: 0 / 0.767 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.038e-05/0.4025, allocations: 15.88 kB / 0.767 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.4026, allocations: 35.83 kB / 0.767 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.4026, allocations: 4 kB / 0.767 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.907e-06/0.4026, allocations: 4 kB / 0.767 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.4026, allocations: 0 / 0.767 GB, free: 2.77 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.0003556/0.403, allocations: 351.3 kB / 0.7673 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.403, allocations: 8.031 kB / 0.7674 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.624e-05/0.4031, allocations: 34.75 kB / 0.7674 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.672e-05/0.4031, allocations: 8.844 kB / 0.7674 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.4032, allocations: 168.4 kB / 0.7676 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.4032, allocations: 384 / 0.7676 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.4033, allocations: 4.375 kB / 0.7676 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.4034, allocations: 57.55 kB / 0.7676 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.4034, allocations: 0 / 0.7676 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.4034, allocations: 4 kB / 0.7676 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.4035, allocations: 4 kB / 0.7676 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.786e-05/0.4035, allocations: 15.98 kB / 0.7676 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003644/0.4039, allocations: 276.8 kB / 0.7679 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.936e-05/0.4039, allocations: 14.58 kB / 0.7679 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.782e-05/0.404, allocations: 12.92 kB / 0.7679 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.023e-06/0.404, allocations: 0 / 0.7679 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.404, allocations: 42.48 kB / 0.768 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.404, allocations: 0 / 0.768 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001619/0.4042, allocations: 37.61 kB / 0.768 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.4042, allocations: 51.41 kB / 0.7681 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.4044, allocations: 133.8 kB / 0.7682 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.4044, allocations: 29.83 kB / 0.7682 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.177e-05/0.4044, allocations: 92.03 kB / 0.7683 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.107e-06/0.4045, allocations: 15.84 kB / 0.7683 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.4045, allocations: 25.66 kB / 0.7683 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.4046, allocations: 318.8 kB / 0.7686 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.695e-05/0.4047, allocations: 12 kB / 0.7687 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.753e-05/0.4047, allocations: 11.98 kB / 0.7687 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.69e-05/0.4047, allocations: 20.8 kB / 0.7687 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4047, allocations: 4 kB / 0.7687 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001116/0.4049, allocations: 57.88 kB / 0.7687 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.4049, allocations: 7.125 kB / 0.7688 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.4049, allocations: 4 kB / 0.7688 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.4049, allocations: 0 / 0.7688 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.743e-05/0.4049, allocations: 7.984 kB / 0.7688 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.473e-06/0.405, allocations: 0 / 0.7688 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.415e-05/0.405, allocations: 15.78 kB / 0.7688 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.405, allocations: 4 kB / 0.7688 GB, free: 0.7266 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 8.484e-05/0.4051, allocations: 109.8 kB / 0.7689 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.978e-05/0.4051, allocations: 8 kB / 0.7689 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.271e-05/0.4052, allocations: 7.531 kB / 0.7689 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.4052, allocations: 3.984 kB / 0.7689 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.4052, allocations: 4 kB / 0.7689 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.4052, allocations: 3.938 kB / 0.7689 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002839/0.4055, allocations: 358.7 kB / 0.7693 GB, free: 176 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4055, allocations: 0 / 0.7693 GB, free: 176 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.949e-06/0.4055, allocations: 0 / 0.7693 GB, free: 176 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.4055, allocations: 8.016 kB / 0.7693 GB, free: 168 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.4055, allocations: 3.938 kB / 0.7693 GB, free: 164 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.4055, allocations: 0 / 0.7693 GB, free: 164 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.4055, allocations: 3.938 kB / 0.7693 GB, free: 160 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.686e-05/0.4056, allocations: 57.14 kB / 0.7693 GB, free: 84 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.35e-05/0.4057, allocations: 85.02 kB / 0.7694 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.4057, allocations: 3.938 kB / 0.7694 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.562e-05/0.4057, allocations: 4.031 kB / 0.7694 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.813e-05/0.4057, allocations: 3.984 kB / 0.7694 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-06/0.4057, allocations: 0 / 0.7694 GB, free: 15.97 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.252e-05/0.4058, allocations: 106.4 kB / 0.7695 GB, free: 15.87 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4058, allocations: 0 / 0.7695 GB, free: 15.87 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001984/0.406, allocations: 8 kB / 0.7695 GB, free: 15.86 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.0004791/0.4065, allocations: 0.626 MB / 0.7701 GB, free: 15.21 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.348e-05/0.4066, allocations: 31.92 kB / 0.7702 GB, free: 15.18 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4066, allocations: 0 / 0.7702 GB, free: 15.18 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.205e-06/0.4066, allocations: 4 kB / 0.7702 GB, free: 15.18 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001311/0.4068, allocations: 4.094 kB / 0.7702 GB, free: 15.17 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003142/0.4071, allocations: 154.5 kB / 0.7703 GB, free: 14.98 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002097/0.4073, allocations: 0.6807 MB / 0.771 GB, free: 14.27 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.12e-05/0.4074, allocations: 4 kB / 0.771 GB, free: 14.27 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.16e-05/0.4074, allocations: 19.42 kB / 0.771 GB, free: 14.25 MB / 0.545 GB Notification: Performance of SimCode: time 2.11e-07/0.4074, allocations: 0 / 0.771 GB, free: 14.25 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01741/0.4248, allocations: 1.626 MB / 0.7726 GB, free: 12.73 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.153/7.578, allocations: 9.766 kB / 0.7726 GB, free: 12.73 MB / 0.545 GB (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)