Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Cryptographics_Validation_SHA1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="IBPSA_latest_IBPSA_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.001047/0.001047, allocations: 102.9 kB / 16.27 MB, free: 5.984 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.001122/0.001122, allocations: 188.4 kB / 17.19 MB, free: 5.613 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.292/1.292, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.731/0.731, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 55.91 kB / 0.4912 GB, free: 7.387 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3109, allocations: 77.93 MB / 0.5673 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Cryptographics.Validation.SHA1): time 0.001862/0.3128, allocations: 0.5248 MB / 0.5678 GB, free: 32.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004021/0.3132, allocations: 141.8 kB / 0.5679 GB, free: 32.28 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.193e-05/0.3133, allocations: 0 / 0.5679 GB, free: 32.28 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.79e-05/0.3133, allocations: 4.625 kB / 0.5679 GB, free: 32.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000197/0.3135, allocations: 9.047 kB / 0.5679 GB, free: 32.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.411e-05/0.3136, allocations: 31.38 kB / 0.568 GB, free: 32.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.307e-05/0.3137, allocations: 24.31 kB / 0.568 GB, free: 32.24 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.882e-05/0.3137, allocations: 2.734 kB / 0.568 GB, free: 32.24 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.647e-05/0.3137, allocations: 19.75 kB / 0.568 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003718/0.3141, allocations: 322.7 kB / 0.5683 GB, free: 32.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.3141, allocations: 1.469 kB / 0.5683 GB, free: 32.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.248e-05/0.3142, allocations: 19.86 kB / 0.5683 GB, free: 32.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.34e-05/0.3142, allocations: 6.812 kB / 0.5683 GB, free: 32.08 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.429e-05/0.3143, allocations: 12.66 kB / 0.5684 GB, free: 32.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000113/0.3144, allocations: 33.55 kB / 0.5684 GB, free: 32.06 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3144, allocations: 1.156 kB / 0.5684 GB, free: 32.06 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.3144, allocations: 0 / 0.5684 GB, free: 32.06 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.3144, allocations: 3.938 kB / 0.5684 GB, free: 32.05 MB / 446.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.0002812/0.3147, allocations: 357.9 kB / 0.5687 GB, free: 31.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.3147, allocations: 14.27 kB / 0.5687 GB, free: 31.68 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.978e-05/0.3148, allocations: 31.45 kB / 0.5688 GB, free: 31.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.992e-05/0.3148, allocations: 10.33 kB / 0.5688 GB, free: 31.63 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.379e-05/0.3149, allocations: 165.1 kB / 0.5689 GB, free: 31.44 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-06/0.3149, allocations: 5.438 kB / 0.5689 GB, free: 31.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.3149, allocations: 6.156 kB / 0.569 GB, free: 31.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.315, allocations: 55.36 kB / 0.569 GB, free: 31.39 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.315, allocations: 0 / 0.569 GB, free: 31.39 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-06/0.3151, allocations: 1.75 kB / 0.569 GB, free: 31.39 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3151, allocations: 1.125 kB / 0.569 GB, free: 31.39 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.567e-05/0.3151, allocations: 17.98 kB / 0.569 GB, free: 31.38 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002727/0.3154, allocations: 282.4 kB / 0.5693 GB, free: 31.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.41e-05/0.3154, allocations: 22.27 kB / 0.5693 GB, free: 31.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.457e-05/0.3155, allocations: 5.984 kB / 0.5693 GB, free: 31.06 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.64e-06/0.3155, allocations: 0 / 0.5693 GB, free: 31.06 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.452e-05/0.3155, allocations: 36.61 kB / 0.5694 GB, free: 31.02 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.3155, allocations: 0 / 0.5694 GB, free: 31.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001354/0.3156, allocations: 42.12 kB / 0.5694 GB, free: 30.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.286e-05/0.3157, allocations: 51.41 kB / 0.5694 GB, free: 30.92 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.3158, allocations: 141.7 kB / 0.5696 GB, free: 30.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.813e-06/0.3158, allocations: 29.64 kB / 0.5696 GB, free: 30.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.583e-05/0.3158, allocations: 92.91 kB / 0.5697 GB, free: 30.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.612e-06/0.3158, allocations: 6 kB / 0.5697 GB, free: 30.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.826e-05/0.3159, allocations: 25.16 kB / 0.5697 GB, free: 30.66 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.922e-05/0.316, allocations: 323.1 kB / 0.57 GB, free: 30.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.08e-05/0.316, allocations: 12.59 kB / 0.57 GB, free: 30.33 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.56e-05/0.316, allocations: 12.88 kB / 0.5701 GB, free: 30.33 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.621e-05/0.3161, allocations: 17.16 kB / 0.5701 GB, free: 30.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3161, allocations: 1.062 kB / 0.5701 GB, free: 30.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001081/0.3162, allocations: 61.28 kB / 0.5701 GB, free: 30.28 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.3162, allocations: 9.031 kB / 0.5701 GB, free: 30.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3162, allocations: 0.6875 kB / 0.5701 GB, free: 30.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.3162, allocations: 1.5 kB / 0.5701 GB, free: 30.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.106e-05/0.3163, allocations: 7.312 kB / 0.5702 GB, free: 30.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.3163, allocations: 0.8438 kB / 0.5702 GB, free: 30.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.774e-05/0.3163, allocations: 15.22 kB / 0.5702 GB, free: 30.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.3163, allocations: 1.641 kB / 0.5702 GB, free: 30.26 MB / 446.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 5.761e-05/0.3164, allocations: 115.8 kB / 0.5703 GB, free: 30.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.814e-05/0.3164, allocations: 5.812 kB / 0.5703 GB, free: 30.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.149e-05/0.3164, allocations: 6.219 kB / 0.5703 GB, free: 30.13 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.3164, allocations: 0.75 kB / 0.5703 GB, free: 30.13 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3165, allocations: 2.406 kB / 0.5703 GB, free: 30.13 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3165, allocations: 7.938 kB / 0.5703 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/0.3167, allocations: 363.5 kB / 0.5706 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3167, allocations: 0.8438 kB / 0.5707 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.767e-06/0.3167, allocations: 0.7188 kB / 0.5707 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.3167, allocations: 0.8438 kB / 0.5707 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.3167, allocations: 5.375 kB / 0.5707 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.3167, allocations: 0 / 0.5707 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3167, allocations: 2.344 kB / 0.5707 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.962e-05/0.3168, allocations: 60.44 kB / 0.5707 GB, free: 29.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.442e-05/0.3168, allocations: 82.33 kB / 0.5708 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.3169, allocations: 5.234 kB / 0.5708 GB, free: 29.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.446e-05/0.3169, allocations: 2.188 kB / 0.5708 GB, free: 29.56 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.611e-05/0.3169, allocations: 6.203 kB / 0.5708 GB, free: 29.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.3169, allocations: 0 / 0.5708 GB, free: 29.56 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.902e-05/0.317, allocations: 105.2 kB / 0.5709 GB, free: 29.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.317, allocations: 1.094 kB / 0.5709 GB, free: 29.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002153/0.3172, allocations: 14.11 kB / 0.5709 GB, free: 29.47 MB / 446.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.0004444/0.3177, allocations: 0.62 MB / 0.5715 GB, free: 28.87 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00014/0.3178, allocations: 24.28 kB / 0.5716 GB, free: 28.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.3178, allocations: 0.5 kB / 0.5716 GB, free: 28.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.092e-05/0.3178, allocations: 8.062 kB / 0.5716 GB, free: 28.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001491/0.318, allocations: 9.062 kB / 0.5716 GB, free: 28.85 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003647/0.3184, allocations: 148.2 kB / 0.5717 GB, free: 28.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001556/0.3185, allocations: 0.6838 MB / 0.5724 GB, free: 28 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.406e-05/0.3186, allocations: 10.12 kB / 0.5724 GB, free: 28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.318e-05/0.3186, allocations: 13.81 kB / 0.5724 GB, free: 27.98 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3186, allocations: 1.094 kB / 0.5724 GB, free: 27.98 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01703/0.3356, allocations: 1.555 MB / 0.5739 GB, free: 27.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.118/7.454, allocations: 3.328 kB / 0.5739 GB, free: 27.6 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Cryptographics.Validation.SHA1.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Cryptographics.Validation.SHA1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Cryptographics.Validation.SHA1.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Cryptographics.Validation.SHA1.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Cryptographics.Validation.SHA1_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Utilities_Cryptographics_Validation_SHA1.fmu > IBPSA_latest_IBPSA.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1)