Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Cryptographics_Validation_SHA1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="IDEAS_dev_IDEAS_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.0007537/0.0007538, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0008014/0.0008015, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9326/0.9326, allocations: 135.3 MB / 426.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003011/0.0003011, allocations: 11.94 kB / 0.5071 GB, free: 5.031 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1516, allocations: 82.32 MB / 0.5875 GB, free: 2.883 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Cryptographics.Validation.SHA1): time 0.0006923/0.1523, allocations: 242.3 kB / 0.5877 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003998/0.1527, allocations: 144.2 kB / 0.5878 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.579e-05/0.1528, allocations: 0 / 0.5878 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.154e-05/0.1528, allocations: 0 / 0.5878 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001764/0.153, allocations: 11.94 kB / 0.5878 GB, free: 2.488 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.83e-05/0.153, allocations: 23.97 kB / 0.5879 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.745e-05/0.1531, allocations: 19.92 kB / 0.5879 GB, free: 2.445 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.842e-05/0.1532, allocations: 4 kB / 0.5879 GB, free: 2.441 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.519e-05/0.1532, allocations: 11.92 kB / 0.5879 GB, free: 2.43 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003919/0.1536, allocations: 289.8 kB / 0.5882 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.1536, allocations: 0 / 0.5882 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.247e-05/0.1537, allocations: 15.98 kB / 0.5882 GB, free: 2.164 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.746e-05/0.1537, allocations: 15.92 kB / 0.5882 GB, free: 2.148 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.74e-05/0.1537, allocations: 29.7 kB / 0.5882 GB, free: 2.113 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.977e-05/0.1538, allocations: 23.91 kB / 0.5883 GB, free: 2.09 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1538, allocations: 0 / 0.5883 GB, free: 2.09 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1538, allocations: 0 / 0.5883 GB, free: 2.09 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.399e-06/0.1539, allocations: 0 / 0.5883 GB, free: 2.09 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.0003318/0.1542, allocations: 351.4 kB / 0.5886 GB, free: 1.699 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.1542, allocations: 8.031 kB / 0.5886 GB, free: 1.691 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.771e-05/0.1543, allocations: 38.5 kB / 0.5886 GB, free: 1.645 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.574e-05/0.1543, allocations: 4 kB / 0.5886 GB, free: 1.641 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.1545, allocations: 174.9 kB / 0.5888 GB, free: 1.43 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.1545, allocations: 4 kB / 0.5888 GB, free: 1.426 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.1545, allocations: 11.98 kB / 0.5888 GB, free: 1.414 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.1546, allocations: 45.67 kB / 0.5889 GB, free: 1.363 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.852e-06/0.1547, allocations: 0 / 0.5889 GB, free: 1.363 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.1547, allocations: 0 / 0.5889 GB, free: 1.363 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1547, allocations: 0 / 0.5889 GB, free: 1.363 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.271e-05/0.1547, allocations: 23.92 kB / 0.5889 GB, free: 1.34 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003647/0.1551, allocations: 268.9 kB / 0.5892 GB, free: 1.027 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.092e-05/0.1552, allocations: 22.58 kB / 0.5892 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.061e-05/0.1552, allocations: 10.5 kB / 0.5892 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.522e-06/0.1552, allocations: 0 / 0.5892 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.1552, allocations: 34.62 kB / 0.5892 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.1552, allocations: 0 / 0.5892 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001394/0.1554, allocations: 41.5 kB / 0.5893 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.1554, allocations: 55.41 kB / 0.5893 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.1556, allocations: 141.5 kB / 0.5894 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.1556, allocations: 25.7 kB / 0.5895 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.448e-05/0.1557, allocations: 103.9 kB / 0.5896 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.198e-06/0.1557, allocations: 0 / 0.5896 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/0.1557, allocations: 0 / 0.5896 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.1558, allocations: 318.8 kB / 0.5899 GB, free: 232 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.537e-05/0.1558, allocations: 11.98 kB / 0.5899 GB, free: 220 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.869e-05/0.1559, allocations: 15.88 kB / 0.5899 GB, free: 204 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.589e-05/0.1559, allocations: 8 kB / 0.5899 GB, free: 196 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1559, allocations: 4 kB / 0.5899 GB, free: 192 kB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001065/0.156, allocations: 65.53 kB / 0.59 GB, free: 120 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.156, allocations: 9.719 kB / 0.59 GB, free: 112 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1561, allocations: 0 / 0.59 GB, free: 112 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.1561, allocations: 3.984 kB / 0.59 GB, free: 108 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.946e-05/0.1561, allocations: 0 / 0.59 GB, free: 108 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.1561, allocations: 3.953 kB / 0.59 GB, free: 104 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.264e-05/0.1561, allocations: 4 kB / 0.59 GB, free: 100 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.1561, allocations: 0 / 0.59 GB, free: 100 kB / 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 (cmpAll,cmp1,cmp2,cmp3,cmp4,cmp5) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000109/0.1563, allocations: 117.8 kB / 0.5901 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.69e-05/0.1563, allocations: 7.906 kB / 0.5901 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.247e-05/0.1563, allocations: 7.516 kB / 0.5901 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.1563, allocations: 0 / 0.5901 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1563, allocations: 192 / 0.5901 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1563, allocations: 3.953 kB / 0.5901 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002758/0.1566, allocations: 358.7 kB / 0.5905 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.1566, allocations: 3.984 kB / 0.5905 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.927e-06/0.1566, allocations: 4.031 kB / 0.5905 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1567, allocations: 4 kB / 0.5905 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.1567, allocations: 0 / 0.5905 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.1567, allocations: 3.953 kB / 0.5905 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1567, allocations: 0 / 0.5905 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.639e-05/0.1568, allocations: 57.14 kB / 0.5905 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.651e-05/0.1568, allocations: 89 kB / 0.5906 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.1568, allocations: 7.938 kB / 0.5906 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.231e-05/0.1569, allocations: 4.031 kB / 0.5906 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.028e-05/0.1569, allocations: 7.938 kB / 0.5906 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-06/0.1569, allocations: 0 / 0.5906 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.545e-05/0.157, allocations: 103.3 kB / 0.5907 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.157, allocations: 0 / 0.5907 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002123/0.1572, allocations: 8 kB / 0.5907 GB, free: 15.21 MB / 0.4981 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 (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.0005026/0.1577, allocations: 0.6299 MB / 0.5914 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.862e-05/0.1578, allocations: 27.92 kB / 0.5914 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1578, allocations: 0 / 0.5914 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.134e-06/0.1578, allocations: 0 / 0.5914 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001457/0.158, allocations: 17.77 kB / 0.5914 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003078/0.1583, allocations: 148.4 kB / 0.5915 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.1585, allocations: 0.6809 MB / 0.5922 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.658e-05/0.1586, allocations: 8.125 kB / 0.5922 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.684e-05/0.1586, allocations: 15.42 kB / 0.5922 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1586, allocations: 4 kB / 0.5922 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009846/0.1685, allocations: 1.337 MB / 0.5935 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001589/0.1687, allocations: 224.8 kB / 0.5938 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.696/1.864, allocations: 0 / 0.5938 GB, free: 12.15 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Cryptographics.Validation.SHA1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Cryptographics.Validation.SHA1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Cryptographics.Validation.SHA1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Cryptographics.Validation.SHA1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Cryptographics_Validation_SHA1_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Cryptographics_Validation_SHA1.fmu > IDEAS_dev_IDEAS.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) Environment - environmentSimulation: