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.001093/0.001093, allocations: 109.4 kB / 16.41 MB, free: 6.504 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.001072/0.001072, allocations: 191.9 kB / 17.34 MB, free: 5.758 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.29/1.29, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7424/0.7424, allocations: 122.9 MB / 414.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 65.7 kB / 0.5679 GB, free: 28.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1197, allocations: 77.94 MB / 0.644 GB, free: 9.59 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Cryptographics.Validation.SHA1): time 0.001346/0.1211, allocations: 0.5048 MB / 0.6445 GB, free: 9.086 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003615/0.1214, allocations: 160.3 kB / 0.6447 GB, free: 8.926 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.485e-05/0.1215, allocations: 0 / 0.6447 GB, free: 8.926 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.288e-05/0.1215, allocations: 11.94 kB / 0.6447 GB, free: 8.914 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001513/0.1217, allocations: 3.938 kB / 0.6447 GB, free: 8.91 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.359e-05/0.1217, allocations: 27.91 kB / 0.6447 GB, free: 8.883 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.122e-05/0.1218, allocations: 23.92 kB / 0.6447 GB, free: 8.859 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.032e-05/0.1218, allocations: 7.984 kB / 0.6448 GB, free: 8.852 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.08e-05/0.1219, allocations: 11.92 kB / 0.6448 GB, free: 8.84 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002923/0.1222, allocations: 318.8 kB / 0.6451 GB, free: 8.551 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.1222, allocations: 0 / 0.6451 GB, free: 8.551 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.985e-05/0.1222, allocations: 19.98 kB / 0.6451 GB, free: 8.531 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.219e-05/0.1223, allocations: 3.938 kB / 0.6451 GB, free: 8.527 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.583e-05/0.1223, allocations: 23.86 kB / 0.6451 GB, free: 8.504 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.841e-05/0.1224, allocations: 40.06 kB / 0.6452 GB, free: 8.465 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.1224, allocations: 0 / 0.6452 GB, free: 8.465 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1224, allocations: 0 / 0.6452 GB, free: 8.465 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.1224, allocations: 0 / 0.6452 GB, free: 8.465 MB / 494.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.0002888/0.1227, allocations: 355.2 kB / 0.6455 GB, free: 8.07 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.1227, allocations: 11.98 kB / 0.6455 GB, free: 8.059 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.865e-05/0.1228, allocations: 38.69 kB / 0.6455 GB, free: 8.012 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.532e-05/0.1228, allocations: 8.891 kB / 0.6455 GB, free: 8.004 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.1229, allocations: 176.3 kB / 0.6457 GB, free: 7.793 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-06/0.1229, allocations: 4.375 kB / 0.6457 GB, free: 7.789 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.123, allocations: 4.375 kB / 0.6457 GB, free: 7.785 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.1231, allocations: 49.62 kB / 0.6458 GB, free: 7.73 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.1231, allocations: 3.938 kB / 0.6458 GB, free: 7.727 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.902e-06/0.1231, allocations: 0 / 0.6458 GB, free: 7.727 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.1231, allocations: 0 / 0.6458 GB, free: 7.727 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.501e-05/0.1231, allocations: 19.98 kB / 0.6458 GB, free: 7.707 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002865/0.1234, allocations: 272.8 kB / 0.6461 GB, free: 7.391 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.763e-05/0.1235, allocations: 22.58 kB / 0.6461 GB, free: 7.359 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.394e-05/0.1235, allocations: 8.859 kB / 0.6461 GB, free: 7.348 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.16e-06/0.1235, allocations: 0 / 0.6461 GB, free: 7.348 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.1235, allocations: 38.56 kB / 0.6461 GB, free: 7.301 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.1235, allocations: 0 / 0.6461 GB, free: 7.301 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001263/0.1237, allocations: 33.66 kB / 0.6462 GB, free: 7.262 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.1237, allocations: 55.53 kB / 0.6462 GB, free: 7.195 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.1238, allocations: 145.7 kB / 0.6463 GB, free: 7.043 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.1239, allocations: 25.7 kB / 0.6464 GB, free: 7.012 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.175e-05/0.1239, allocations: 96.09 kB / 0.6465 GB, free: 6.914 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.288e-06/0.1239, allocations: 0 / 0.6465 GB, free: 6.914 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-05/0.124, allocations: 29.7 kB / 0.6465 GB, free: 6.879 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.043e-05/0.1241, allocations: 314.8 kB / 0.6468 GB, free: 6.562 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.503e-05/0.1241, allocations: 11.98 kB / 0.6468 GB, free: 6.551 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.175e-05/0.1241, allocations: 12 kB / 0.6468 GB, free: 6.539 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.695e-05/0.1242, allocations: 32.91 kB / 0.6468 GB, free: 6.504 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1242, allocations: 0 / 0.6468 GB, free: 6.504 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001033/0.1243, allocations: 61.64 kB / 0.6469 GB, free: 6.438 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.1243, allocations: 8 kB / 0.6469 GB, free: 6.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.1243, allocations: 0 / 0.6469 GB, free: 6.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.1243, allocations: 0 / 0.6469 GB, free: 6.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.653e-05/0.1243, allocations: 0 / 0.6469 GB, free: 6.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1243, allocations: 4 kB / 0.6469 GB, free: 6.426 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.815e-05/0.1244, allocations: 11.83 kB / 0.6469 GB, free: 6.414 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.1244, allocations: 0 / 0.6469 GB, free: 6.414 MB / 494.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.843e-05/0.1245, allocations: 121.8 kB / 0.647 GB, free: 6.285 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.666e-05/0.1245, allocations: 4 kB / 0.647 GB, free: 6.281 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.749e-05/0.1245, allocations: 11.47 kB / 0.6471 GB, free: 6.266 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.1245, allocations: 0 / 0.6471 GB, free: 6.266 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.1245, allocations: 0 / 0.6471 GB, free: 6.266 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.1245, allocations: 7.922 kB / 0.6471 GB, free: 6.258 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000237/0.1248, allocations: 354.8 kB / 0.6474 GB, free: 5.852 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.1248, allocations: 8.031 kB / 0.6474 GB, free: 5.844 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.837e-06/0.1248, allocations: 0 / 0.6474 GB, free: 5.844 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.1248, allocations: 0 / 0.6474 GB, free: 5.844 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.1248, allocations: 3.938 kB / 0.6474 GB, free: 5.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.1248, allocations: 0 / 0.6474 GB, free: 5.84 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1248, allocations: 0 / 0.6474 GB, free: 5.84 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.995e-05/0.1249, allocations: 69.02 kB / 0.6475 GB, free: 5.754 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.637e-05/0.1249, allocations: 81.06 kB / 0.6476 GB, free: 5.656 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.1249, allocations: 11.97 kB / 0.6476 GB, free: 5.645 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.279e-05/0.125, allocations: 0 / 0.6476 GB, free: 5.645 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.627e-05/0.125, allocations: 0 / 0.6476 GB, free: 5.645 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-06/0.125, allocations: 4 kB / 0.6476 GB, free: 5.641 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.944e-05/0.1251, allocations: 105.5 kB / 0.6477 GB, free: 5.539 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1251, allocations: 0 / 0.6477 GB, free: 5.539 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001957/0.1253, allocations: 11.98 kB / 0.6477 GB, free: 5.527 MB / 494.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.0003931/0.1257, allocations: 0.6226 MB / 0.6483 GB, free: 4.887 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.615e-05/0.1258, allocations: 27.94 kB / 0.6483 GB, free: 4.859 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1258, allocations: 0 / 0.6483 GB, free: 4.859 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.677e-06/0.1258, allocations: 4.031 kB / 0.6483 GB, free: 4.855 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001283/0.1259, allocations: 11.92 kB / 0.6483 GB, free: 4.844 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002822/0.1262, allocations: 150.5 kB / 0.6485 GB, free: 4.656 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002021/0.1264, allocations: 0.6807 MB / 0.6491 GB, free: 3.949 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.713e-05/0.1264, allocations: 7.984 kB / 0.6492 GB, free: 3.941 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.74e-05/0.1265, allocations: 15.44 kB / 0.6492 GB, free: 3.926 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1265, allocations: 0 / 0.6492 GB, free: 3.926 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01591/0.1424, allocations: 1.595 MB / 0.6507 GB, free: 2.406 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.329/7.472, allocations: 4.812 kB / 0.6507 GB, free: 2.406 MB / 494.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)