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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007631/0.0007631, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007286/0.0007286, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8537/0.8537, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001392/0.001392, allocations: 238.1 kB / 259.4 MB, free: 13.03 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6251/0.6251, allocations: 138.4 MB / 454.3 MB, free: 30.04 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 0.6462 GB, free: 1.941 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.718e-06/1.103e-05, allocations: 2.281 kB / 0.6462 GB, free: 1.938 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Cryptographics.Validation.SHA1): time 0.0009073/0.0009183, allocations: 0.5475 MB / 0.6468 GB, free: 1.391 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0003464/0.001265, allocations: 144.8 kB / 0.6469 GB, free: 1.246 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.7e-05/0.001292, allocations: 4 kB / 0.6469 GB, free: 1.242 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.437e-05/0.001306, allocations: 3.938 kB / 0.6469 GB, free: 1.238 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001763/0.001482, allocations: 11.88 kB / 0.6469 GB, free: 1.227 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 4.723e-05/0.00153, allocations: 31.84 kB / 0.647 GB, free: 1.195 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 5.014e-05/0.00158, allocations: 27.91 kB / 0.647 GB, free: 1.168 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.876e-05/0.001619, allocations: 7.984 kB / 0.647 GB, free: 1.16 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.182e-05/0.00165, allocations: 11.94 kB / 0.647 GB, free: 1.148 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002446/0.001895, allocations: 332.7 kB / 0.6473 GB, free: 0.8594 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.001908, allocations: 4 kB / 0.6473 GB, free: 0.8555 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 5.453e-05/0.001963, allocations: 15.98 kB / 0.6474 GB, free: 0.8398 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.157e-05/0.001974, allocations: 7.938 kB / 0.6474 GB, free: 0.832 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.871e-05/0.001993, allocations: 11.98 kB / 0.6474 GB, free: 0.8203 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 8.567e-05/0.002079, allocations: 39.83 kB / 0.6474 GB, free: 0.7812 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.00208, allocations: 0 / 0.6474 GB, free: 0.7812 MB / 0.5573 GB Notification: Performance of FrontEnd: time 8.62e-07/0.002081, allocations: 0 / 0.6474 GB, free: 0.7812 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.002085, allocations: 0 / 0.6474 GB, free: 0.7812 MB / 0.5573 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.0002193/0.002304, allocations: 278.1 kB / 0.6477 GB, free: 492 kB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.002337, allocations: 8.031 kB / 0.6477 GB, free: 484 kB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.528e-05/0.002363, allocations: 34.75 kB / 0.6477 GB, free: 440 kB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.098e-05/0.002384, allocations: 8.891 kB / 0.6477 GB, free: 432 kB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.269e-05/0.002446, allocations: 109.7 kB / 0.6478 GB, free: 296 kB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.00246, allocations: 4.359 kB / 0.6478 GB, free: 292 kB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.464e-06/0.002467, allocations: 4.375 kB / 0.6478 GB, free: 288 kB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.792e-05/0.002555, allocations: 50.25 kB / 0.6479 GB, free: 232 kB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.33e-06/0.00256, allocations: 192 / 0.6479 GB, free: 232 kB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-06/0.002569, allocations: 11.92 kB / 0.6479 GB, free: 220 kB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.002573, allocations: 0 / 0.6479 GB, free: 220 kB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.48e-05/0.002608, allocations: 15.98 kB / 0.6479 GB, free: 204 kB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2184/0.221, allocations: 246 kB / 0.6481 GB, free: 56.89 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 4.627e-05/0.2211, allocations: 21.44 kB / 0.6482 GB, free: 56.86 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.254e-05/0.2211, allocations: 6.359 kB / 0.6482 GB, free: 56.86 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 7.785e-06/0.2211, allocations: 2.906 kB / 0.6482 GB, free: 56.86 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.3e-05/0.2211, allocations: 32.59 kB / 0.6482 GB, free: 56.82 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 1.362e-06/0.2211, allocations: 1.344 kB / 0.6482 GB, free: 56.82 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 0.0001229/0.2212, allocations: 43.27 kB / 0.6483 GB, free: 56.79 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.997e-05/0.2213, allocations: 52.28 kB / 0.6483 GB, free: 56.72 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.613e-05/0.2213, allocations: 136.9 kB / 0.6484 GB, free: 56.62 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.509e-06/0.2213, allocations: 27.14 kB / 0.6485 GB, free: 56.59 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.729e-05/0.2214, allocations: 98.2 kB / 0.6486 GB, free: 56.51 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.078e-06/0.2214, allocations: 1.5 kB / 0.6486 GB, free: 56.51 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.007e-05/0.2214, allocations: 28.28 kB / 0.6486 GB, free: 56.49 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.086e-05/0.2214, allocations: 319.4 kB / 0.6489 GB, free: 56.18 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.829e-05/0.2214, allocations: 11.27 kB / 0.6489 GB, free: 56.18 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.71e-05/0.2215, allocations: 11.84 kB / 0.6489 GB, free: 56.18 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.898e-05/0.2215, allocations: 21.81 kB / 0.6489 GB, free: 56.17 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2215, allocations: 0.5312 kB / 0.6489 GB, free: 56.17 MB / 0.5573 GB Notification: Performance of matching and sorting (n=6) (initialization): time 7.269e-05/0.2216, allocations: 60.33 kB / 0.649 GB, free: 56.14 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.2216, allocations: 10.84 kB / 0.649 GB, free: 56.14 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.2216, allocations: 0.8438 kB / 0.649 GB, free: 56.14 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.2216, allocations: 3.5 kB / 0.649 GB, free: 56.14 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.112e-05/0.2216, allocations: 5.406 kB / 0.649 GB, free: 56.14 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.2216, allocations: 2.344 kB / 0.649 GB, free: 56.14 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.325e-05/0.2216, allocations: 10.02 kB / 0.649 GB, free: 56.13 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.2217, allocations: 2.5 kB / 0.649 GB, free: 56.13 MB / 0.5573 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 3.444e-05/0.2217, allocations: 113.4 kB / 0.6491 GB, free: 56.02 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.269e-05/0.2217, allocations: 3.312 kB / 0.6491 GB, free: 56.02 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.784e-05/0.2217, allocations: 18.36 kB / 0.6491 GB, free: 56.02 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.2217, allocations: 1.484 kB / 0.6491 GB, free: 56.02 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2217, allocations: 0 / 0.6491 GB, free: 56.02 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.2217, allocations: 1.656 kB / 0.6491 GB, free: 56.02 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.2219, allocations: 336.3 kB / 0.6495 GB, free: 55.67 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.32e-07/0.2219, allocations: 0 / 0.6495 GB, free: 55.67 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.784e-06/0.2219, allocations: 1.531 kB / 0.6495 GB, free: 55.67 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.2219, allocations: 3.828 kB / 0.6495 GB, free: 55.67 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.939e-06/0.2219, allocations: 0.8125 kB / 0.6495 GB, free: 55.67 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.2219, allocations: 0.625 kB / 0.6495 GB, free: 55.67 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2219, allocations: 2.062 kB / 0.6495 GB, free: 55.67 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.518e-05/0.2219, allocations: 67.72 kB / 0.6495 GB, free: 55.6 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.769e-06/0.2219, allocations: 6.109 kB / 0.6495 GB, free: 55.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.388e-06/0.2219, allocations: 1.562 kB / 0.6496 GB, free: 55.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.775e-06/0.2219, allocations: 1.656 kB / 0.6496 GB, free: 55.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.563e-05/0.2219, allocations: 2.031 kB / 0.6496 GB, free: 55.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-06/0.222, allocations: 2.938 kB / 0.6496 GB, free: 55.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.308e-05/0.222, allocations: 102.3 kB / 0.6497 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.222, allocations: 0.6875 kB / 0.6497 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000133/0.2221, allocations: 13.91 kB / 0.6497 GB, free: 55.52 MB / 0.5573 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.0002769/0.2224, allocations: 0.6307 MB / 0.6503 GB, free: 54.93 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 7.427e-05/0.2225, allocations: 19.53 kB / 0.6503 GB, free: 54.93 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2225, allocations: 2.156 kB / 0.6503 GB, free: 54.93 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.969e-06/0.2225, allocations: 6.375 kB / 0.6503 GB, free: 54.93 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.963e-05/0.2226, allocations: 3.25 kB / 0.6503 GB, free: 54.93 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002273/0.2228, allocations: 155.7 kB / 0.6505 GB, free: 54.79 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.842e-05/0.2228, allocations: 66.17 kB / 0.6505 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.985e-05/0.2228, allocations: 8.188 kB / 0.6505 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.538e-05/0.2229, allocations: 21.67 kB / 0.6506 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of SimCode: time 4.11e-07/0.2229, allocations: 0 / 0.6506 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01385/0.2367, allocations: 2.3 MB / 0.6528 GB, free: 53.82 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.431/6.667, allocations: 6.578 kB / 0.6528 GB, free: 53.82 MB / 0.5573 GB " [Timeout remaining time 653] (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 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Cryptographics_Validation_SHA1.fmu > BuildingSystems_BuildingSystems.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.081946037709713] Failed to read output from testmodel.py, exit status != 0: 6.743215047754347 6.752014917 6.748033612 Calling exit ...