Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Utilities_Cryptographics_Validation_SHA1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="IDEAS_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.005169/0.005169, allocations: 101.9 kB / 15.73 MB, free: 6.031 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.001203/0.001204, allocations: 197.2 kB / 16.67 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7886/0.7886, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 70.23 kB / 0.5808 GB, free: 1.293 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1596, allocations: 80.2 MB / 0.6592 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Cryptographics.Validation.SHA1): time 0.001708/0.1613, allocations: 0.5165 MB / 0.6597 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004181/0.1617, allocations: 156.4 kB / 0.6598 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.757e-05/0.1618, allocations: 0 / 0.6598 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.672e-05/0.1618, allocations: 3.938 kB / 0.6598 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001872/0.162, allocations: 11.94 kB / 0.6598 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 7.67e-05/0.1621, allocations: 23.91 kB / 0.6599 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.633e-05/0.1622, allocations: 27.86 kB / 0.6599 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.086e-05/0.1622, allocations: 4 kB / 0.6599 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.666e-05/0.1623, allocations: 19.91 kB / 0.6599 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003352/0.1626, allocations: 314.3 kB / 0.6602 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.1626, allocations: 4 kB / 0.6602 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.394e-05/0.1627, allocations: 8 kB / 0.6602 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.678e-05/0.1627, allocations: 15.92 kB / 0.6602 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.419e-05/0.1627, allocations: 7.922 kB / 0.6602 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.1628, allocations: 39.84 kB / 0.6603 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1629, allocations: 8 kB / 0.6603 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1629, allocations: 0 / 0.6603 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.116e-06/0.1629, allocations: 0 / 0.6603 GB, free: 13.04 MB / 0.4981 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.0003093/0.1632, allocations: 350.2 kB / 0.6606 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.1632, allocations: 8.031 kB / 0.6606 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.198e-05/0.1633, allocations: 38.75 kB / 0.6607 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.617e-05/0.1633, allocations: 0.9375 kB / 0.6607 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.1634, allocations: 181 kB / 0.6608 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.1634, allocations: 8.312 kB / 0.6608 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.1634, allocations: 4.375 kB / 0.6608 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.1636, allocations: 51.91 kB / 0.6609 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.1636, allocations: 0 / 0.6609 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.1636, allocations: 4 kB / 0.6609 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.1636, allocations: 0 / 0.6609 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.571e-05/0.1637, allocations: 15.98 kB / 0.6609 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003252/0.164, allocations: 280.8 kB / 0.6612 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.509e-05/0.164, allocations: 18.52 kB / 0.6612 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.683e-05/0.1641, allocations: 12.92 kB / 0.6612 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.113e-06/0.1641, allocations: 0 / 0.6612 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.1641, allocations: 34.5 kB / 0.6612 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 2.375e-06/0.1641, allocations: 3.984 kB / 0.6613 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001375/0.1642, allocations: 37.7 kB / 0.6613 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.1643, allocations: 51.41 kB / 0.6613 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.1644, allocations: 149 kB / 0.6615 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.1644, allocations: 29.83 kB / 0.6615 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.744e-05/0.1645, allocations: 99.97 kB / 0.6616 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.03e-06/0.1645, allocations: 0 / 0.6616 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.842e-05/0.1645, allocations: 25.7 kB / 0.6616 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.1646, allocations: 318.8 kB / 0.6619 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.668e-05/0.1647, allocations: 15.98 kB / 0.6619 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.878e-05/0.1647, allocations: 4 kB / 0.662 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.59e-05/0.1647, allocations: 20.84 kB / 0.662 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1647, allocations: 0 / 0.662 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001075/0.1649, allocations: 69.59 kB / 0.662 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.1649, allocations: 4 kB / 0.662 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.1649, allocations: 0 / 0.662 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.1649, allocations: 3.938 kB / 0.662 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.055e-05/0.1649, allocations: 4 kB / 0.662 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.1649, allocations: 0 / 0.662 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.769e-05/0.165, allocations: 4.125 kB / 0.6621 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.165, allocations: 8 kB / 0.6621 GB, free: 11 MB / 0.4981 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 7.546e-05/0.1651, allocations: 117.8 kB / 0.6622 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.619e-05/0.1651, allocations: 11.91 kB / 0.6622 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.139e-05/0.1651, allocations: 11.53 kB / 0.6622 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1651, allocations: 0 / 0.6622 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1651, allocations: 0 / 0.6622 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1651, allocations: 3.938 kB / 0.6622 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002471/0.1654, allocations: 358.7 kB / 0.6625 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1654, allocations: 0 / 0.6625 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.388e-06/0.1654, allocations: 0 / 0.6625 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1654, allocations: 7.969 kB / 0.6625 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.1654, allocations: 3.938 kB / 0.6626 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1654, allocations: 0 / 0.6626 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1655, allocations: 0 / 0.6626 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.615e-05/0.1655, allocations: 65.03 kB / 0.6626 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.148e-05/0.1656, allocations: 85.05 kB / 0.6627 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.1656, allocations: 3.938 kB / 0.6627 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.262e-05/0.1656, allocations: 0 / 0.6627 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.631e-05/0.1656, allocations: 4.031 kB / 0.6627 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.1656, allocations: 4 kB / 0.6627 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.068e-05/0.1657, allocations: 99.27 kB / 0.6628 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1657, allocations: 3.938 kB / 0.6628 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002032/0.1659, allocations: 15.98 kB / 0.6628 GB, free: 10.1 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 (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.0004549/0.1664, allocations: 0.6146 MB / 0.6634 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.072e-05/0.1665, allocations: 19.94 kB / 0.6634 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.1665, allocations: 0 / 0.6634 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.03e-05/0.1665, allocations: 11.92 kB / 0.6635 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001488/0.1666, allocations: 7.938 kB / 0.6635 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003148/0.167, allocations: 154.6 kB / 0.6636 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002235/0.1672, allocations: 0.6807 MB / 0.6643 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.343e-05/0.1672, allocations: 12.36 kB / 0.6643 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.884e-05/0.1673, allocations: 11.44 kB / 0.6643 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1673, allocations: 0 / 0.6643 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0173/0.1846, allocations: 1.612 MB / 0.6659 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.296/7.481, allocations: 3.516 kB / 0.6659 GB, free: 6.996 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Cryptographics.Validation.SHA1.pipe ; mkfifo IDEAS_IDEAS.Utilities.Cryptographics.Validation.SHA1.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Cryptographics.Validation.SHA1.pipe >> ../files/IDEAS_IDEAS.Utilities.Cryptographics.Validation.SHA1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Cryptographics_Validation_SHA1_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Cryptographics_Validation_SHA1.fmu > IDEAS_IDEAS.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1)